I just got a WS2801 and wanted to use my Pi to control it.....
I connected as http://learn.adafruit.com/light-paintin ... i/overview
However, after all the connections and python scripts...I could only get white lights with nothings doing on it.....
Now....to keep things simple....I just want to control the on/off only...
"while True:
pixel_output = bytearray(18)
spidev.write(pixel_output)
spidev.flush()
time.sleep(1000)"
still.....white light appears and nothing happens.....
Due to frustrations....I tried my old LPD6803 led strip with Pi....yet white light again....
Can anybody tell me where can I start looking at?
Thanks!
BTW, I already tried switching the CLK and DIN pins....and the wires are all connected at the INPUT side.....
WS2801 Vs LPD6803 PLUS Raspberry Pi
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- pburgess
- Posts: 4161
- Joined: Sun Oct 26, 2008 2:29 am
Re: WS2801 Vs LPD6803 PLUS Raspberry Pi
Are you running the python script as root, i.e. using 'sudo'?
-
- Posts: 2
- Joined: Tue Sep 25, 2012 1:01 am
Please be positive and constructive with your questions and comments.