LCD
27 November, 2011 - 16:31
Having installed and stabalised the LCD on my box I've noticed that my xAP commands don't seem to change the display. If I send a xAP command from the box, the Virtual LCD is changed but the physical one is unaffected. I can change the physical one from the web interface with the set LCD command but xAP commands from my plugboard applets seem to have no effect.
This is my send to LCD function:
function send2lcd(lcdstr)
xap.sendShort(string.format([[xap-header
{
target=dbzoo.livebox.Controller:lcd
class=xAPBSC.cmd
}
output.state.1
{
id=*
state=on
text=%s
}]], lcdstr))
end
Do I need to be doing something different for the physical LCD as opposed to the virtual LCD?
Looks ok to me - See the sample /etc_ro_fs/plugboard/samples/tickerApplet.lua or even just the basic clockApplet.lua
You might try adding into the header the UID of the LCD see if that makes any difference.
uid=FF00DB01
Brett