mcauser / micropython-ssd1327

MicroPython driver for SSD1327 128x128 4-bit greyscale OLED displays
MIT License
25 stars 10 forks source link

Cannot run on Mac Mojave #5

Closed chernhaw closed 4 months ago

chernhaw commented 2 years ago

I can't your helloworld on Thonny after copying ssd1327.py to my rasppi pico, I got this error

%Run -c $EDITOR_CONTENT Traceback (most recent call last): File "", line 13, in File "ssd1327.py", line 191, in init File "ssd1327.py", line 178, in init File "ssd1327.py", line 77, in init File "ssd1327.py", line 121, in poweron File "ssd1327.py", line 182, in write_cmd OSError: 5

mcauser commented 4 months ago

Usually caused by missing pull-ups on the I2C SDA/SCL pins. Others have reported issues with SoftI2C/HW I2C on the pico. I'll do some testing and make sure it works reliably.