[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: XPL-LCD
Looks fine to me, the device name is up to the developer as long as the
device knows what it means that ok. As for type why not use input rather
than have a new type called button.
So I would be tempt to go for
Menu1 button 1
device=11
type=input
current=high
Menu2 button 1
device=21
type=input
current=high
i.e. menu#button# just so it makes sense if you do different version with
different numbers of buttons.
S.
--------+------------------------->
"Frank Mc
Alinden"
<fmcalind@bigpo
nd.net.au>
09/03/2005
10:03
Please respond
to ukha_xpl
--------+------------------------->
>------------------------------------------------------------------------------------------------------------------
To: <ukha_xpl@xxxxxxx>
cc:
Subject: [ukha_xpl] XPL-LCD
>------------------------------------------------------------------------------------------------------------------
Hi Guys
Im starting to do the schematics for my xPL-LCD and i have a
few i/o available since im using the 16F876........I was thinking of having
a few buttons to send xPL Trigger messages to control stuff.....What i was
thinking of doing is say have maybe 4 buttons to control stuff and also
have
a Menu Button....The Menu button allows you to scroll thru different
menus.....ie lighting control Menu 1....Exstreamer Control Menu
2...etc........
Of course each trigger would have to report a different id depending on
which Menu your in at the time
Menu 1....Lighting
ON /OFF /BRIGHTEN /DIM......
Menu 2...Exstreamer
ON/OFF/VOL UP/VOL DOWN
Pressing Button 1 when in Menu 1 would send the following trig message
device=button_1
type=button
current=on
Pressing Button 1 when in Menu 2 would send the following trig message
device=button_5
type=button
current=on
Pressing Button 1 when in Menu 3 would send the following trig message
device=button_9
type=button
current=on
ETC.......Is this allowable...?????............
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
|