The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

xPL-LCD Menu,s




Hi All
Incrementing and Decrementing a Global to  step thru the Menu,s
works but the global value is out of sync...i guess it depends on when its
updated...

I have decided to increment  and decrement a Menu number and send a trig
message when whenever Menu up or Menu Down is pressed.....ie i hope this is
allowable ???

On first menu up press

device=MENU_1
type=INPUT
current=HIGH

On Second menu up press

device=MENU_2
type=INPUT
current=HIGH

On Third menu up press etc

device=MENU_3
type=INPUT
current=HIGH

Now a Menu down is pressed etc
device=MENU_2
type=INPUT
current=HIGH

If decremented to Menu 0 this is seen as Exiting the menu system so Menu 0
Determinator clears the lcd...............

Each Menu Determinator obviously sends out a Menu osd message and also
updates the Menu global so when Buttons 1 to 4 is pressed users can  check
these buttons in conjunction with the menu global and act
accordingly............

I dont really want to code a max menu number into the pic as it will mean
having to make it programmmable......

What i intend to do is ...have a Determinator which watches for a value
greater than my current number of Menu,s and sends out a Warning OSD
message
if Greater than the Menu list..
Does this sound ok...???

Frank











www.armaghelectrical.com.au



xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.