Testing LCD screen

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Testing LCD screen

AlfredC
Administrator
Kill livLCD process first so you can do the test.
>ps aux| grep livLCD (see the process)
>sudo pkill -f livLCD
>ps aux| grep livLCD (process is gone)

>cd /home/pi/liv/livLCD
>sudo python lcd16x2.py
>sudo python lcd16x2.py
(you need to type the command twice - there is a bug in LCD initialization code which we'll fix later)

You should see the message
"Test First Line
 Test Second Line" on your LCD screen.

If you don't see the message, make sure your LCD I2C address (0x27 or 0x3F) is detected with
"sudo i2cdetect -y 1"
If the address is detected, use a screwdriver to adjust the contrast of your LCD from the potentiometer on the back of LCD screen).