smittytone / HT16K33-Python

Combination Micropython and Circuitpython drivers for various HT16K33-based LEDs
https://smittytone.net/docs/ht16k33.html
MIT License
31 stars 7 forks source link

Problem connecting Bi-color matrix to Pi Pico ... #11

Closed sealyons closed 1 year ago

sealyons commented 1 year ago

Hi. Thanks for putting this together. I'm trying to get this running in MicroPython (latest build) for use on an older Adafruit Bi-color 8x8 matrix with a Pico W and I'm getting errors. I've used CircuitPython to test the matrix and it works fine. I copied the code and created the 2 libraries and saved those to my \lib folder on the Pico. Trying to get your example.py program to run using your i2c line (scl=Pin(9)) but get this set of errors :

Traceback (most recent call last): File " ", line 18, in File "/lib/ht16k33matrixcolour.py", line 135, in _init File "/lib/ht16k33.py", line 36, in _init File "/lib/ht16k33.py", line 95, in power_on File "/lib/ht16k33.py", line 120, in write_cmd OSError: [Errno 5] EIO

Appreciate any guidance. Thanks.

sealyons commented 1 year ago

Got it running. Had a wiring issue.

smittytone commented 1 year ago

Glad to hear you got it sorted.