-
-
Notifications
You must be signed in to change notification settings - Fork 195
Utils
Rui Azevedo edited this page Feb 16, 2018
·
6 revisions
print a PROGMEM string, a string that resides on flash memory.
On AVR devices you can not print the char * because the system will try to read from ram instead.
There are some more data residing in flash, be careful when handling pointers to internal data.
print_P(Serial,item.getText());
only available on debug mode
Stream to print menu items. dealing with all flash memory cares.
out<<item;
default idle handler (menu suspended)
default callback doNothing, if events mask is noEvent then this functions or any other will never be called.
default action for menu exit, so any of your functions that return quit will also do the same
the default action for the doNothing callback.