Thanks a lot for that eye opener. Got a few testing functions up and running!
both gpio.ws2812(string.char(0, 255, 0)) and
ws2812.write(4, string.char(0, 255, 0))
-- set the color of 10 LEDs on GPIO 0 to blue
ws2812.write(3, string.char(0, 0, 255):rep(10))
-- first LED green, second LED white
ws2812.write(4, string.char(255, 0, 0, 255, 255, 255))
and neither work. I get the nil... result thing.
I've flashed both the 0x0000 and 0x1000 from http://dangerousprototypes.com/forum/vi ... =56&t=7026, set the baud rate to 115200, and 9600 (and all others) and I only get gibberish from the terminal. any ideas?
Andrew