Go Down

Topic: Problem with a menu (Read 1 time) previous topic - next topic

suirammarius

#5
Mar 28, 2012, 07:10 pm Last Edit: Mar 28, 2012, 07:25 pm by suirammarius Reason: 1

(...)
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?

liudr

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.

suirammarius

#7
Mar 28, 2012, 08:41 pm Last Edit: Mar 28, 2012, 09:48 pm by suirammarius Reason: 1
Thank you!

Right now I'm downloading the the library end the documentation too.
Keep in touch!  :)

L.E.:
Wooow! The documentation is GREAT!
THANK YOU!!!
You have another PM :)

liudr


Thank you!

Right now I'm downloading the the library end the documentation too.
Keep in touch!  :)

L.E.:
Wooow! The documentation is GREAT!
THANK YOU!!!
You have another PM :)


It took me forever to get the document ready for the latest release. I hope you like the doc.

suirammarius


Go Up