I've done some searching and most of the posts on how to do a menu with an LCD Keypad shield end up with radio silence. I'm hoping that someone can point me in the right direction.
I have a 16x2 LCD display, that will normally display a value from sensor, like temperature. When a button is pressed, it should take me into the menu system, which consists of this hierarchy and the ability to change the values:
Setup
Distance
Delay (int value in ms)
Backlight
On
Off
I need a way to not only navigate the menus intuitively via the up/down/left/right/select buttons, but also to be able to set the float and int values digit by digit.
signal15:
I've done some searching and most of the posts on how to do a menu with an LCD Keypad shield end up with radio silence. I'm hoping that someone can point me in the right direction.
I have a 16x2 LCD display, that will normally display a value from sensor, like temperature. When a button is pressed, it should take me into the menu system, which consists of this hierarchy and the ability to change the values:
Using the LCD Keypad Shield for simple data entry is relatively easy and I already posted a couple of more or less complex example programs in this forum. Need another one?
But why do you want a hierarchy where there is actually no hierarchy?
And why do you want to use float whre actually only int is needed?
Your configuration is strictly one-dimensional.
Suggested operating modes (you can switch from one to the other by pressing "Select":
Normal display (default)
2 Set dist / XX.X
Set delay XXX
Set Backlight ON/OFF
signal15:
Thoughts?
In the "Set dist" operating mode you actually would NOT enter a float number but a 3-digit int value in the range 000 to 999 ( just printed with a decimal point in front of the last digit).
Currently I'm in bad health and it's a while ago since I programmed something like that for the LCD Keypad Shield, so I cannot provide you some code in no time.
You don't need word, date or time editing, don't you?
[Edit]: OK. I think the TO is no longer following this thread and so will I.