Navigating through the menu, when I'm accessing some items I want to view in real time, the value of a parameter. Is this possible?
I want that using this menu to be able to change some parameters using the buttons that are used to navigate; when I enter in a item to be able to go up or down a value and than store it. I'm sure this is possible but I don't know how.
Dose anyone knows how to do this?
Thank you!
PS: Is there any easiest way to build a menu that can handle what I want?
olikraus has a menu system that you can take a look at. I know exactly what you are trying to do (or do I?), A menu with numbers changing reflecting some measurements or maybe just clock, then you press right and left on the item to adjust some values. I've not seen much support of that type yet.
Yes! This is exactly what I need. I hope that somebody knows how to do this and and will help me, because is really important to me; I'm not building something for fun, is something for my job.
Thank you!
suirammarius:
Yes! This is exactly what I need. I hope that somebody knows how to do this and and will help me, because is really important to me; I'm not building something for fun, is something for my job.
Thank you!
In that case there are few options. You can post on gigs and collaborations board to ask someone to do this part for you for payment. My library is not able to do what you wanted. With some heavy modification I can make it do the first (dynamic list text), but the second one is harder. How many items do you have on your menu and how many layers? We might be able to talk this over the gigs and collaborations board if you want me to help out.
liudr:
(...) My library is not able to do what you wanted.
(...)
"With this library, you can ask user to input numbers, select from a list, or enter a string, which you can use to steer your program execution (menu) or modify how your program runs (parameters such as RPM, delay, brightness),(...)"
With this I thing it will be enough. I want to be able to modify some parameters that are used later in the sketch. I will use the menu only when it starts (to change the parameters) and only if it is necessary (if a button is high when a button is pushed -->MENU, else --> the normal sketch with the default parameters). I think that your library could handle this, couldn't it?
Hey!Are yours all the "phi" stuff ? Are you the developer?
Got your PM. Yes, I developed all the phi_x software libraries and phi-y hardware for arduino.
My menu library can handle the usual stuff. You can also use the library to ask user for numbers etc. But what you wished to do, with dynamically changing menu title/item texts while the user is in the menu, the library can't do it. One has to follow a procedure so that the menu content is updated every time the LCD is refreshed and/or keys are sensed. Some modification to the original library is also needed to do that. My library also supports a virtual layer where you can substitute your original keypad layout with any other layouts you later want, say start with 4 buttons and later went for a matrix keypad and ended up with two clickable rotary encoders. You don't need to change your code at all. Just modify what inputs you have and what each input represents. This layer of virtual reality can be exploited to press buttons wirelessly, over the internet, or dynamically redefine what a button does, all without complicated function calls or switch cases. Give it a go to see if you like it. If you need advanced features, let me know too.
I have a problem when I try to compile an example from "phi_examples".
In file included from phi_prompt_example_int.cpp:58:
D:\Me\arduino-1.0\libraries\WProgram/WProgram.h:7:20: error: wiring.h: No such file or directory
In file included from phi_prompt_example_int.cpp:59:
D:\Me\arduino-1.0\libraries\phi_buttons/phi_buttons.h:46: error: 'byte' does not name a type
.
.
.
.
(etc)
Is there something about those messages that you don't understand. They seem quite straightforward to me. Not to mention that they've been posted about a bazillion times this month.