Giter VIP home page Giter VIP logo

Comments (5)

KicksTV avatar KicksTV commented on July 30, 2024

I have the same issue. Did you ever solve the issue?

from luma.examples.

thijstriemstra avatar thijstriemstra commented on July 30, 2024

@KicksTV @bartvdg can you post any pictures of this issue? what OS and python version?

from luma.examples.

KicksTV avatar KicksTV commented on July 30, 2024

Thanks for assisting @thijstriemstra.
Python 3.11.2
Debian GNU/Linux 12 (bookworm)
Raspberry Pi 4 Model B Rev 1.4
unnamed

from luma.examples.

thijstriemstra avatar thijstriemstra commented on July 30, 2024

you don't happen to have an identical screen laying around to reproduce the issue on that screen? I've used these screens without problems and my guess this one might be broken.

from luma.examples.

bartvdg avatar bartvdg commented on July 30, 2024

Hi,
I have sh1106 model oled display and using this command to display from py program:
python3 program.py --display sh1106

It took a while to figure things out since the documentation from az-delivery (vendor) was crap.

You need to install/run following on your pi (I'm running on ZeroW)
A. Run first three commands if Python3, pip3 and git are not installed
sudo apt-get install python3-dev libffi-dev libssl-dev python3-pil libjpeg-dev zlib1g-dev libfreetype6-dev liblcms2-dev libopenjp2-7 libtiff5 -y
sudo apt-get install python3-rpi.gpio python3-pip -y
sudo apt-get install git -y
B. Install libs
sudo -H pip3 install luma.oled
C. Create folder "oled"
sudo mkdir oled
cd oled
C. get the examples
sudo git clone https://github.com/rm-hull/luma.examples
D. Test
python3 demo.py --display [controller]
example: python3 demo.py --display sh1106
supported controllers:
'ssd1306', 'ssd1309', 'ssd1322', 'ssd1362', 'ssd1322_nhd', 'ssd1325', 'ssd1327', 'ssd1331', 'ssd1351', 'sh1106', 'sh1107', 'ws0010', 'winstar_weh', 'linux_framebuffer'

from luma.examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.