Raspberry Pi and RPi-LPD8806 code

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
chinablue
 
Posts: 49
Joined: Wed Jul 06, 2011 9:01 pm

Raspberry Pi and RPi-LPD8806 code

Post by chinablue »

I am trying to get my LPD-8806 LEDs to run with the recommended adammhaile RPi-LPD8806 code. I was able to complete all installs but when I get to the step of typing Python example.python some LEDs light up but no animations.
When I try the next step: from raspledstrip.ledstrip import *
The error message is: from: can't read /var/mail/raspledstrip.ledstrip


I also looked at the code and found:
Trace back (most recent call last)
File "/home/pi/py-spidev/RPi-LPD8806/raspledstrip/ledstrip.py", line 3, in <module>
From LPD8806 import LPD8806
File "/home/Pi/py-spidev/RPi-LP8806/raspledstrip/LPD8806.py", line 14
Print 'py-spidev/ MHz: %d ' % (self.spi.max_speed_hz /1000000.0)
Syntax Error: invalid syntax

I checked the folders and all of the files are there.
Any recommendations?
Thankx.

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”