aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vg@devys.org>2018-03-20 11:50:53 +0100
committervg <vg@devys.org>2018-03-20 11:50:53 +0100
commit1bd2ef3624cebfa6dd08613b00b3a2491c9dbdae (patch)
treeb51bba8b1053c9abcd6a532bc32b3d800feae41a
parent7ece451ef134395559c4f5c71c6d36197bb7c5c1 (diff)
downloadavr-1bd2ef3624cebfa6dd08613b00b3a2491c9dbdae.tar.gz
avr-1bd2ef3624cebfa6dd08613b00b3a2491c9dbdae.tar.bz2
avr-1bd2ef3624cebfa6dd08613b00b3a2491c9dbdae.zip
second try for the flowchart
-rw-r--r--two_hosts_auto_powerswitch/readme_flowchart.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/two_hosts_auto_powerswitch/readme_flowchart.txt b/two_hosts_auto_powerswitch/readme_flowchart.txt
new file mode 100644
index 0000000..6a7ef42
--- /dev/null
+++ b/two_hosts_auto_powerswitch/readme_flowchart.txt
@@ -0,0 +1,33 @@
+.------------------. .-----------------------.
+| Host state | | Serial | .---.
+| change detection | | computer state toggle | | A |
+'------------------' .---------------. '-----------------------' '---'
+ | | Computer | |
+ | | Button toggle |-----------------|
+ | '---------------' | ^
+ v v ----'
+ .------------. .----------------------.
+ | Lookup | | Update |
+ | skip table |-------------------------------->| computer state table |
+ '------------' '----------------------'
+ .-------------. .------------. |
+ | Serial | | Update | |
+ | skip update |---->| skip table |<----------|-----'
+ '-------------' '------------' | .---------------.
+ | | Outlet |
+ | | Button toggle |
+ v '---------------'
+ .---------------. .--------------. |
+ | Serial | | Update | |
+ | outlet toggle |---->| Outlet table |<-'
+ '---------------' '--------------'
+ |
+ v
+ .---------------------.
+ | Start on/off timers |
+ '---------------------'
+ |
+ v
+ .--------------.
+ | Switch relay |
+ '--------------'