Skip to content

Instantly share code, notes, and snippets.

@robinkrens
Last active September 8, 2021 11:14
Show Gist options
  • Save robinkrens/aeabf1a8d372d6f50f96d865c64b1332 to your computer and use it in GitHub Desktop.
Save robinkrens/aeabf1a8d372d6f50f96d865c64b1332 to your computer and use it in GitHub Desktop.
Sensorpole firmware arch
/* Make pdf by running `dot -Tpng file.dot -o out.png`
* or check online at one of the many tools like webgraphviz.com */
digraph G {
A [label="Initializing"]
B [label="Communicating"]
C [label="Monitoring\n (ULP mode)"]
D [label="Sleeping\n (Shelf mode)"]
D -> A [label="Tilt trigger"]
A -> B
B -> C [label="ULP run"]
C -> C [label="Read sensor"]
C -> B [label="Timer wakeup"]
C -> D [label="Tilt trigger"]
}
@robinkrens
Copy link
Author

new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment