General
SIMPLE LED script
Started by joebataz on .
Sign in or create an account to join the conversation.
Does anyone have a SIMPLE way to turn on/off a single LED in an array? I just can't make any sense of how LED arrays actually work.
THANKS,
joeb
THANKS,
joeb
Thanks Damien. Got me where I needed to go

joeb
joeb
NP. Here's an even better resource: http://www.jazzmutant.com/workshop_tutorialslist.php?id=vectors
Enjoy,
Damien
Enjoy,
Damien
I keep see in' the JazzMutant refs. One of these days I'm gonna go check it out.....
Interesting list of locations, Albuquerque, Amsterdam, Paris.....
You must have a teleporter, a private plane, or a lot of money.
thanks mr d!
joeb
Interesting list of locations, Albuquerque, Amsterdam, Paris.....
You must have a teleporter, a private plane, or a lot of money.
thanks mr d!
joeb
Hey Joe,
I'm still trying to figure out a way to address specific LEDs in an array (via script)... alas. Any ideas?
-D
I'm still trying to figure out a way to address specific LEDs in an array (via script)... alas. Any ideas?
-D
If only...joebataz wrote:You must have a teleporter, a private plane, or a lot of money.
Make sure the BarGraph option is turned off, then you should be able to set the "value" variable of the Leds object to any set of 0 and 1s :
Leds.value = {0,1,0,0,0,1};
To address just a single led : Leds.value[3] = 1;