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:

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 21 users online :: 0 registered, 0 hidden and 21 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 21 guests