RancioLib: Difference between revisions

From ciapini
Jump to navigation Jump to search
No edit summary
No edit summary
Line 40: Line 40:
** entra nel padre
** entra nel padre


elementi grafici:
== Altre lib ==


http://forum.arduino.cc/index.php?topic=99693.0;wap2
* http://forum.arduino.cc/index.php?topic=99693.0;wap2
* http://www.spectron.us/SM6FIE/Electronics/Ms2MenuSystem/Ms2MenuSystem.php

Revision as of 13:03, 16 September 2013

interfaccia testuale minimale

un menu e' un albero, terminato da foglie

la struttura del menu e' definita in un array di strutture:

[id]
 node_name=string
 node_parent=id

le foglie sono definite in un array di strutture:

[id]
 leaf_name=string
 parent_index=id
 type_index=id
 default_value=0

i tipi dei dati sono definiti in un array di strutture:

[id]
 type=unsigned long
 min=n
 max=n
 steps=[]

tasti:

  • UP
    • seleziona il fratello precedente
  • DOWN
    • seleziona il fratello sucessivo
  • LEFT
    • decrementa il valore
  • RIGHT
    • incrementa il valore
  • IN
    • entra nel fratello
  • OUT
    • entra nel padre

Altre lib