Arduino 5 Button 16x2 LCD Menu
Basic menu for a 5 button, 16x2 LCD display shield for Arduino Uno.
Features
- Adjustable backlight brightness
- Adjustable LCD backlight stand-by for power saving
- Loops through menu items (after the last, restarts on the first)
Usage
- Press "select" to wake up
- Press "select" again to enter menu
- Press "up" or "down" to select menu item
- Press "left" or "right" to change values
- Press "select" or wait for the backlight to turn off to exit menu
Implimentation
- Add your items to the menu_list[] array
- Add the code to display the values correctly for each item in
the displayItem() function
- Add the procedures and constraints to adjust the values in the
updateItem() function
You may also like to remove all the chicken animating code and the
contents of doWork() and displayInfo() and make it do something
more specific to your application.
For compilation instructions, see http://playground.arduino.cc/OpenBSD/CLI
TODO
- Save menu options to EEPROM
- Remove C++ garbage and use ANSI C instead