- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
How can I use a C++ library for the Edison with Python? I heard that it's possible, but I've been unable to find out how.
Specifically, I want to use the SparkFun OLED Libraries https://github.com/sparkfun/Edison_OLED_Block/tree/master/Firmware/pong/oled from here with Python.
Thanks for any help!
- Tags:
- Python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
That library is just a rewrite of an Arduino library. Check if there is a Python version and apply changes.
A better approach would be to use a Linux framebuffer. Then you would run a framebuffer kernel driver for your OLED screen and your Python code would write to the framebuffer.
This project maintains OLED framebuffer drivers for the Raspberry Pi https://github.com/notro/fbtft/wiki/LCD-Modules LCD Modules · notro/fbtft Wiki · GitHub
It needs tweaking for the Edison that require programming skills. There were threads here about it.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
That library is just a rewrite of an Arduino library. Check if there is a Python version and apply changes.
A better approach would be to use a Linux framebuffer. Then you would run a framebuffer kernel driver for your OLED screen and your Python code would write to the framebuffer.
This project maintains OLED framebuffer drivers for the Raspberry Pi https://github.com/notro/fbtft/wiki/LCD-Modules LCD Modules · notro/fbtft Wiki · GitHub
It needs tweaking for the Edison that require programming skills. There were threads here about it.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page