You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-20Lines changed: 25 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,12 +81,16 @@ void loop() {
81
81
- Tested on Arduino: AVR, ARM, Teensy 3.2, ESP8266
82
82
83
83
## Dependencies
84
+
This library depends on the following libraries:
85
+
86
+
- Streaming https://github.com/scottdky/Streaming (on debug mode)
87
+
- Assert4a https://github.com/nettigo/Assert4a (on debug mode)
84
88
85
-
Streaming - https://github.com/scottdky/Streaming
89
+
Depending on the type of input or output, other libraries might be needed. Essentially any library needed for your devices.
86
90
87
91
## Menu structure elements (macros)
88
92
89
-
This macros define read-only static menu structure.
93
+
This macros define read-only static menu structure (PROGMEM on system that support it).
90
94
91
95
**OP** - define a prompt with associated action function
92
96
@@ -99,11 +103,10 @@ result goFun() {Serial.println("done!");return proceed;}
99
103
OP("Go!",goFun,enterEvent)
100
104
```
101
105
102
-
Creates an 'anonymous' option as a parent menu element. This option is associated with an action function to be called according to elements mask.
103
-
Prompt's are the menu basic structure, all other elements will share its poroperties. That is all can have a title, and action function and an event mask.
106
+
Creates an 'anonymous' option as a parent's menu element. This option is associated with an action function to be called according to elements mask.
107
+
Prompt's are the menu basic structure, all other elements will share its poroperties. That is all can have a title, an action function and an event mask.
104
108
The action function will be called on every event occourence.
105
-
The action function can sen back some 'result' information to be interpreted nby the caller. The meaning of this result depends on the caller and they might ignore it.
106
-
Current styles have no meaning on simnple prompts.
109
+
The action function can send back some 'result' information to be interpreted by the caller. The meaning of this result depends on the caller and it might ignore it.
107
110
108
111
**MENU** - define a menu
109
112
@@ -120,7 +123,7 @@ a menu object 'id' is statically created and can be refered in your sketch by it
120
123
);
121
124
122
125
void setup() {
123
-
myMenu[2].disable();
126
+
myMenu[2].disable();//example of disabling a menu option
0 commit comments