![]() |
MD_Menu Library
1.0.0
Library for 1 or 2 line display menu management
|
#include <MD_Menu.h>
Public Attributes | |
mnuId_t | id |
Identifier for this item. | |
uint8_t | idx |
index for this value - id and idx make this value unique | |
char | label [INPUT_LABEL_SIZE+1] |
Label for this menu item. | |
inputAction_t | action |
Type of action required for this value. | |
cbValueRequest | cbVR |
Callback function to get/set the value. | |
uint8_t | fieldWidth |
Width of the displayed field betwene delimiters. | |
int32_t | range [2] |
min/max values an integer | |
uint8_t | base |
number base for display (2 through 16) | |
const char * | pList |
pointer to list string | |
Input field defintion
Defines the data value for input from the user. Each definition contains enough data for the data collection to be managed by the library.