Power & Source of Big Ideas

BakeBit - OLED 128x64

Moderators: chensy, FATechsupport

do anybody run this one ?
my one do not start:
error is:
root@FriendlyARM:~# cd ~/BakeBit/Software/Python
root@FriendlyARM:~/BakeBit/Software/Python# sudo python bakebit_prj_SystemInfo.py
Traceback (most recent call last):
File "bakebit_prj_SystemInfo.py", line 38, in <module>
import bakebit
File "/root/BakeBit/Software/Python/bakebit.py", line 58, in <module>
import RPi.GPIO as GPIO
File "/usr/local/lib/python2.7/dist-packages/RPi/GPIO/__init__.py", line 23, in <module>
from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
I did a look to https://github.com/friendlyarm/BakeBit/ ... 64_oled.py . In my opinion, the BakeBit is just a clone of an SSD1306. You can find various source code when using google search for SSD1306, eg:
https://github.com/rm-hull/luma.oled
https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf

This code works on my NanoPi NEO Air and on a Raspberry Pi, too:
https://github.com/thomaspfeiffer-git/r ... SSD1306.py (it's just some copy/paste from other libraries).

So it's worth a try with some SSD1306 source code.

Who is online

In total there are 20 users online :: 0 registered, 0 hidden and 20 guests (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 20 guests