You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for doing this work. Nobody else has any code for the P9813 in Python for the Pi. I have a Pi running OctoPrint and I am trying to use a P9813 LED STRIP DIVER MODULE to drive a single LED strip for my enclosure. In the future I will chain the modules and thus not waste any more pins on the header. I'm out of my depth, here, as this isn't just telling a GPIO to go high. I am having trouble trying to get your P9813.py to execute:
pi@octopi:~ $ ./P9813.py
from: can't read /var/mail/safeGPIO
import: unable to open X server ' @ error/import.c/ImportImageCommand/364. ./P9813.py: line 16: class: command not found ./P9813.py: line 18: syntax error near unexpected token ('
./P9813.py: line 18: ` def init(self, pin_clk, pin_data, num_leds = 1, sleepEnabled = False):'
I know the code is trying to use resources from safeGPIO.py but I don't know enough to tell it how. Lot's of research before swallowing my pride and publicly asking such questions. Thanks.
The text was updated successfully, but these errors were encountered:
Thanks for doing this work. Nobody else has any code for the P9813 in Python for the Pi. I have a Pi running OctoPrint and I am trying to use a P9813 LED STRIP DIVER MODULE to drive a single LED strip for my enclosure. In the future I will chain the modules and thus not waste any more pins on the header. I'm out of my depth, here, as this isn't just telling a GPIO to go high. I am having trouble trying to get your P9813.py to execute:
pi@octopi:~ $ ./P9813.py
from: can't read /var/mail/safeGPIO
import: unable to open X server
' @ error/import.c/ImportImageCommand/364. ./P9813.py: line 16: class: command not found ./P9813.py: line 18: syntax error near unexpected token
('./P9813.py: line 18: ` def init(self, pin_clk, pin_data, num_leds = 1, sleepEnabled = False):'
I know the code is trying to use resources from safeGPIO.py but I don't know enough to tell it how. Lot's of research before swallowing my pride and publicly asking such questions. Thanks.
The text was updated successfully, but these errors were encountered: