Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1251

Python • Has anyone managed to get Adafruit-blinka to work on a Pi 5?

$
0
0
Hi guys. I'am trying to use an SSD1306 OLED display with my Pi 5. Actually I have one on a Waveshare Pioneer600 hat and one separated - neither of them works. Because no matter what I do - I always get this:

Code:

Traceback (most recent call last):  File "/home/in_sympathy/Code/OLED_Stats/example.py", line 13, in <module>    from board import SCL, SDA, D4ModuleNotFoundError: No module named 'board'
I tried doing it like so:

Code:

 python -m venv ${PWD##*/} source ${PWD##*/}/bin/activate pip install adafruit-blinka adafruit-circuitpython-ssd1306  sudo python example.py
Am I missing something?

Statistics: Posted by in_sympathy — Wed Feb 28, 2024 8:20 pm



Viewing all articles
Browse latest Browse all 1251

Trending Articles