-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I've tried using the code in the README file to connect to my sign and it can't seem to import M500Sign. The Usage link is a 404. Using python 2.7 on a Raspberry Pi. Pyserial pip installed without errors. Perl version works like a champ, but want to wrap it in a bunch of other functionality that requires Perl modules that are a bear to install via cpan and I'd rather not have to create a code Codeduckin, wrapping Perl in Python in Node, in HTML etc.
The error:
~/LedSign $ python sign.py
Traceback (most recent call last):
File "sign.py", line 5, in
from pyledsign.m500sign import M500Sign
ImportError: cannot import name M500Sign
The code:
from pyledsign.m500sign import M500Sign
mysign = M500Sign(
devicetype='sign'
)
queuemsg queues a message to be sent with the send method
mysign.queuemsg(
data='Hello world!'
)
mysign.sendqueue(
device='/dev//ttyUSB0'
)