Skip to content

Using Raspberry PI directly to 8 x 32 not working? #1

@evanjmg

Description

@evanjmg

Hi, thank you so much for this LED text example! I'm a total noob but got my 8 row x 32 columns BTF - 256 pixels working with this other tutorial to display animated rainbows etc. However, I can't seem to get anything running with your code - I get the following port error below. Did I miss a step? Thank you for such a detailed readme - I've followed all the python setup and am using the pin setup from the other tutorial above.

pi@raspberrypi:~/lamatrix $ python main.py
SerialProtocol: opening port /dev/ttyACM0 @ 115200 baud
Traceback (most recent call last):
  File "main.py", line 67, in <module>
    driver = HAL(config)
  File "/home/pi/lamatrix/arduinoserialhal.py", line 23, in __init__
    self.reset()
  File "/home/pi/lamatrix/arduinoserialhal.py", line 44, in reset
    self.ser = serial.Serial(self.port, baudrate=self.baudrate, rtscts=True, timeout=0.1, write_timeout=0.5)
  File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__
    self.open()
  File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
    raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions