I'm programming up for my new project. (Parts still to arrive)
I am making a project with a 20 x 4 LCD display and buttons for input.
I'm not sure what type of buttons or how many. Which doesn't help I know.
What I am wanting to do is get the mechanics of it working for now.
One sticking point is menus, or maybe better: lists.
I'm also stuck how to get the object built, but I'll get to that soon.
So, going a bit macro, I have a list of options which can be scrolled with an up/down button and selected with a select. An exit option in case I go into a selection by mistake, maybe. That's another sticky point.
Going on from there, I am stuck how to do what I just said.
I have played with thing like this, but that was more for a display and it used a node which created a list from the inputs. So that is probably a bit too high level for what I want/need.
I'll start with just 3 buttons for now: up; down; select.
up and down move which part of the object is sent to the
That is to get that part working. Ultimately it will go to the LCD. But at this level, it doesn't matter.
select will send a message with the displayed message ...... to a
debug node when pressed.
Yes: I know this is beyond my skill set. But I won't learn if I don't try. So I don't want to be spoon fed the answer. Helped would be more appreciated.
(And this virus is getting serious here again. So I want to keep busy doing stuff I like.)
This is an example of what the source object is:
["option 1","option 2","option 3","option 4"]
Just to be obvious.
So I press a button (up/down) and it scrolls through the options.
It may be nice if it wrapped when it gets to either end.