Hello everyone,
Today i started with implementing the OCO packet in LFSLapper.
After a few tests , the startlight control works good, so far.
You can control the startlights by using a new function:
LapperFunction:
$LightAction:
$LightIndex:
$LightIndentifier:
identify particular start lights objects (0 to 63 or 255 = all)
You can give each StartLight a differend number in AutoX editor:
$LightColor:
First testversion will be released soon.
Today i started with implementing the OCO packet in LFSLapper.
After a few tests , the startlight control works good, so far.
You can control the startlights by using a new function:
LapperFunction:
startlightcontrol(5,149,1,1);
startlightcontrol($LightAction,$LightIndex,$LightIndentifier,$LightColor);
Be sure those vars are GlobalVars.
$LightAction:
#4 = OCO_LIGHTS_RESET, // give up control of all lights
#5 = OCO_LIGHTS_SET, // use Data byte to set the bulbs
#6 = OCO_LIGHTS_UNSET, // give up control of the specified lights
$LightIndex:
AXO_START_LIGHTS (149) or STARTLIGHTS_TRACK (240)
$LightIndentifier:
identify particular start lights objects (0 to 63 or 255 = all)
You can give each StartLight a differend number in AutoX editor:
$LightColor:
STARTLIGHTS_TRACK(240) AXO_START_LIGHTS(149)
0 = off 0 = off
1 = red1 1 = red
2 = red2 2 = amber
4 = red3 -
8 = green 8 = green
First testversion will be released soon.