Basic menu for a 16x2 LCD display button shield for Arduino Uno

grugly 5278e70a95 Updated README.md 6 years ago
Arduino_5_Button_16x2_LCD_Menu.ino 703bfc4b8e Animated the chicken, lots of cleaning up 6 years ago
LICENSE 80644ec286 Added licence and wrote README.md 6 years ago
Makefile 5e3371c59d Added arduino project files 6 years ago
README.md 5278e70a95 Updated README.md 6 years ago

README.md

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