Arduino Menu System 16x2 LCD Display
I was looking for a simple menu system for a 16x2 LCD with a setup mode and a running mode.
What i took was the core code developed by 'polepole' on the Arduino forums and have adapted it and documented as best as I can.
Compiled and uploaded it uses 3 buttons up, down and select - to enter the menu system press the up and down together as the arduino is rebooted. Once completed in the setup function it then drops out to the main void loop.
Ive tried to comment it as much as is sensible in order to help another plagarist like me to hack it into what they need.
Also given some rough guide on how to switch it to running as a menu based app i.e. the Menu is the core code and not a setup function.
I am no professional coder and generally look for snippets of code other have produced learning from them to achieve what I need.
Code posted below
Hope someone finds it useful