README.md 1.1 KB

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

  1. Press "select" to wake up
  2. Press "select" again to enter menu
  3. Press "up" or "down" to select menu item
  4. Press "left" or "right" to change values
  5. Press "select" or wait for the backlight to turn off to exit menu

Implimentation

  1. Add your items to the menu_list[] array
  2. Add the code to display the values correctly for each item in the displayItem() function
  3. 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