Hello All,
I can't seem to figure out how to get the "value" of an LED and compare it.
I have a button that I'm setting up to toggle an LED on and off. Here is the code I have written, when I hover over the Variable it says "ERROR". Any thoughts??
local FeedLeftLED scr.GetProperty("FeedLeftLED", "Value")
if (FeedLeftLED == 1) then
scr.SetProperty("FeedLeftLED", "Value", "0")
else
scr.SetProperty("FeedLeftLED", "Value", "1")
end
-Chad