Skip to content

Instantly share code, notes, and snippets.

@zuriby
Created February 10, 2011 06:12
Show Gist options
  • Save zuriby/820032 to your computer and use it in GitHub Desktop.
Save zuriby/820032 to your computer and use it in GitHub Desktop.
16*2 lcd screen:
+----------------+
|ABCDEFGHIJKLMNOP|
|QRSTUVWXYZ012345|
+----------------+
we use 15 chars per line as last is reserved for active flag or "scroll-down" hint '>'
there are 4 keys, up down, enter and esc
always, the first line is the active one
(operation: "enter" applies on it)
+----------------+
|Menu *| --------------.
|192.168.0.1 | |
+----------------+ |
[enter]
+----------------+
|Keys *| -------------.
|Reset Settings >| |
+----------------+ . |
[down] \ [enter]
`\ [up] +----------------+
+----------------+ |Active N01-P03 *|
|Reset Settings *| ->(ays*) |Change Period >|
|Reboot Device >| +----------------+ .
+----------------+ . [down] \
[down] \ `\ [up]
`\ [up] +----------------+
+----------------+ |Change Period *|
|Reboot Device *| ->(ays*) |Change Network >|
|Exit >| +----------------+ .
+----------------+ . [down] \
[down] \ `\ [up]
`\ [up] +----------------+
+----------------+ |Change Network *|
|Exit *| |Erase Keys >|
| | +----------------+ .
+----------------+ . [down] \
`\ [up]
+----------------+
|Erase Keys *| ->(ays*)
|Exit >|
+----------------+ .
[down] \
`\ [up]
+----------------+
|Exit *|
| |
+----------------+
===== (ays*) =====
+----------------+
|Are you Sure? |
|Esc(N) Enter(Y) |
+----------------+
= change period =
+----------------+
|Change to P01 *| ->(ays*)
|Change to P02 >|
+----------------+
...
+----------------+
|Change to P99 *|
|Exit |
+----------------+
= change network =
+----------------+
|Change to N01 *| ->(ays*)
|Change to N02 >|
+----------------+
...
+----------------+
|Change to N99 *|
|Exit |
+----------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment