Giter VIP home page Giter VIP logo

Comments (12)

MaartenB3 avatar MaartenB3 commented on June 15, 2024

Try changing the contrast, worked for me.

from luma.lcd.

rm-hull avatar rm-hull commented on June 15, 2024

Yes it is probably the same root cause as #6: some devices contrast are calibrated differently, so try setting the contrast when initialising.

The text examples work, but depending on the version of pillow installed the graphics demos may not. At the moment the ETA fix for that is unknown.

from luma.lcd.

Pant avatar Pant commented on June 15, 2024

Sorry for my noob question but how am I supposed to change the contrast?
Thank you for your answers!

from luma.lcd.

rm-hull avatar rm-hull commented on June 15, 2024

When you call init, call it with:

lcd.init(contrast=67)

Permitted values 0..255.

You could also call the following anytime after initialising.

lcd.set_contrast(183)

from luma.lcd.

Pant avatar Pant commented on June 15, 2024

I tryed the alphabet_text.py with the following ways:

if __name__ == "__main__":
lcd.init(contrast=67)

and

if __name__ == "__main__":
lcd.init()
lcd.set_contrast(183)

But neither works. Am i missing something? I Have triple-checked the wiring and i have used 2 lcds and non of them works.

from luma.lcd.

rm-hull avatar rm-hull commented on June 15, 2024

Can you drag/drop a closeup photo of your lcd module to this issue? There are a few different designs where the pinouts are different.

Also, does the backlight switch on when you power up?

from luma.lcd.

Pant avatar Pant commented on June 15, 2024

front
rear
The led lights on when i run the alphabet_text.py. It does not lights off until next reboot!

from luma.lcd.

Pant avatar Pant commented on June 15, 2024

Is there anything else i could try?

from luma.lcd.

rm-hull avatar rm-hull commented on June 15, 2024

Ok, looking at your board, the pins are

  • RST
  • CE
  • DC
  • DIN
  • CLK
  • VCC
  • LIGHT
  • GND

This looks to be the same as mine :)

Can you annotate this list with the Raspberry Pi pins that you are connecting to?
Presumably there are no dry solder joints or shorts?

There is some debugging output we can set - I'll dig out how to do this and paste it here.

from luma.lcd.

Pant avatar Pant commented on June 15, 2024

Guys sorry for the trouble but i figured out that the problem was that I used an external cord with 40 pins. Connecting directly to the pins solved the problem. Thank you for your assistance!

from luma.lcd.

rm-hull avatar rm-hull commented on June 15, 2024

Ah, good - so you have it working properly now then?

from luma.lcd.

Pant avatar Pant commented on June 15, 2024

Yes everything works fine

from luma.lcd.

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.