Hi I am using the MSP430FG4618 and a I2C 2*16 character LCD and some
switches.
Anyway I want to enter a menu screen and many sub menues based on swith
inputs. Eg two switches both held down enters menu, Sw1 would change
selection and sw2 would activate selection.
Things like setting the clock and choosing modes of operation like
automatic vs manual reading modes, or data gather vs data download
modes.
Now I use low power mode and interupt to send out on I2C to the LCD as
per most TI examples with I2C.
So if anyone has some examples or knows the name of some TI examples of
a menu structered C program I would be greatfull.
Ps I usualy use C and IAR but am also trying out CCE3.
Martin
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )
Martin,
Our recent MSP430 State Machine Programming book gives examples of a
menu-based system for a terminal monitor using the keyboard, but the
ideas can be adapted for a LCD-based menu as well. The book also
covers handling switches in a low-power fashion for MSP430s, as well
as state machine architecture, so replacing the keyboard with buttons
should be straightforward.
You can find this book on amazon at:
http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%
2Fwww.amazon.com%2FMSP430-State-Machine-Programming-ES2274%2Fdp%
2F0975475924%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1214397954%26sr%3D8-
1&tag=softcom-20&linkCode=ur2&camp=1789&creative=9325
If that link doesn't work, then search amazon for MSP430 as one word,
then choose our green and white title from the list.
The book is written for our ES2274 board, but the ideas apply to any
MSP430 variant, with suitable modifications.
Tom
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )