MD_Menu Library  2.1
Library for 1 or 2 line display menu management
MD_Menu.h File Reference

Main header file for class definition of the MD_Menu library. More...

#include <Arduino.h>
Include dependency graph for MD_Menu.h:
This graph shows which files directly or indirectly include this file:

Classes

class  MD_Menu
 
struct  MD_Menu::value_t
 
struct  MD_Menu::mnuInput_t
 
struct  MD_Menu::mnuItem_t
 
struct  MD_Menu::mnuHeader_t
 

Macros

#define ARRAY_SIZE(a)   (sizeof(a)/sizeof((a)[0]))
 Generic macro for obtaining number of elements of an array.
 
#define UOM(s)   ((s[0] << 24) + (s[1] << 16) + (s[2] << 8) + s[3])
 Unit of measure macro converts an engineering UOM into a 32 bit value.
 

Variables

const uint8_t HEADER_LABEL_SIZE = 16
 Displayed length of a menu header label.
 
const uint8_t ITEM_LABEL_SIZE = 14
 Displayed length of a menu item label.
 
const uint8_t INPUT_LABEL_SIZE = 14
 Displayed length of an input item label.
 
const uint8_t MNU_STACK_SIZE = 4
 Maximum menu 'depth'. Starting (root) menu occupies first level.
 

Detailed Description

Main header file for class definition of the MD_Menu library.