Comments (12)
Try changing the contrast, worked for me.
from luma.lcd.
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.
Sorry for my noob question but how am I supposed to change the contrast?
Thank you for your answers!
from luma.lcd.
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.
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.
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.
The led lights on when i run the alphabet_text.py. It does not lights off until next reboot!
from luma.lcd.
Is there anything else i could try?
from luma.lcd.
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.
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.
Ah, good - so you have it working properly now then?
from luma.lcd.
Yes everything works fine
from luma.lcd.
Related Issues (20)
- Stray pixels when using diff_to_previous with ILI9341 HOT 20
- test_ili9341 hangs HOT 3
- Error trying PWMBacklight with ili9341 HOT 23
- Help with speed difference between SBCs HOT 15
- ili9341 and PWM support? HOT 1
- Thoughts on Bridgetek EVE (Embedded Video Engine) HOT 11
- Support for ili9486 HOT 9
- Trying to get this to work with Spotpear LCD HOT 20
- ST7789 - maximum height and width? HOT 9
- Multiple TFT Screens (ST7735) HOT 2
- Standard 'gpio_LIGHT' pin causes crash of I2S HOT 1
- Support ILI9488 3.5" (320x480) displays HOT 4
- The function device.backlight(False) turns on the lights, instead of device.backlight(True) HOT 7
- DeprecationWarning: getsize is deprecated and will be removed in Pillow 10 (2023-07-01)
- RuntimeError: This module can only be run on a Raspberry Pi! HOT 2
- Comment error: HT1621 may actually 1/3 bias HOT 2
- ILI9341 issue?
- st7735 white screen HOT 1
- Question: HD44780 Cursor Show/Hide and Line/Blink
- This is simply a question / request: Have you ever consider porting this great project to micropython? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luma.lcd.