Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Implementing a simple Menu

$
0
0

Hi !

 

I'm new and I did search a bit but with the millions of results, it was hard for me to check them all to see if one would answer my request.

 

I would like to implement a simple 2 level menu using my MSP430. Something very simple to learn how it is done.

 

I would like to display a variable value on the 16x2 LCD on the first row (easy part I can already do this)

I would like to use 1 push button to scroll down options which are displayed on the second row all the time.

I would like to use a second push button to select the option

 

The selected option will go to the next menu level.

I would like to then continue scrolling through the second level options wich will simply change the value of the variable so I can see it worked.

 

I would like to start building a menu library so I can have 2 levels of menu depth. I will then build from this on.

 

On my current setup I still have P1.4 and P1.5 free. The remaining pins are used to drive the LCD.

 

I have a G2231 and a G2211 on a 1.4 Launchpad available (G2553 on order)

 

Thank you very much !


Viewing all articles
Browse latest Browse all 2077

Trending Articles