Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OLED SSD1306 #135

Closed
ruozhiertong opened this issue Nov 26, 2020 · 4 comments
Closed

OLED SSD1306 #135

ruozhiertong opened this issue Nov 26, 2020 · 4 comments

Comments

@ruozhiertong
Copy link

My situation:
Pi 4B with2020-08-20-raspios-buster-armhf , Python3, 0.9 inch OLED with SSD1306.
When i run : python3 demo.py
There is an error:
demo.py: error: Invalid/unsupported framebuffer: /dev/fd0.
How to fix the error?
Thx.

@rm-hull
Copy link
Owner

rm-hull commented Nov 26, 2020

python3 demo.py -d ssd1306

@rm-hull
Copy link
Owner

rm-hull commented Nov 26, 2020

There was a regression in luma.core that caused this.. it should default to SSD1306, I will apply a fix now

@rm-hull
Copy link
Owner

rm-hull commented Nov 26, 2020

luma.core 2.0.2 released with a fix for this

@mguzelocak
Copy link

I have this problem with Pi 5. What should I do to fix the error?

when i run the file i got this error:
maze.py: error: Invalid/unsupported framebuffer: /dev/fd0

then i run it again with this command:
mcguzelocak@raspberrypi1:/home/mcguzelocak/luma.examples/examples$ python3 demo.py -d ssd1306

and I got his error:
demo.py: error: argument --display/-d: invalid choice: 'ssd1306' (choose from 'linux_framebuffer')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants