Elecrow Raspberry Pi & Arduino Starter Kit User Manual page 109

Table of Contents

Advertisement

Code Overview, Compile and run
The code is very simple.
We will initialise the LCD using the Adafruit char lcd library, we will turn the backlight so we can see what we print
on the screen, we will clean the script just in case some text left from before and then we show a message of "hello
world" we wait 5 seconds and repeat it all again, you might see the screen flickering, that's totally normal.
Compile the script by going into the samples directory and running: python3 lcd.py
109 of 114

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Raspberry Pi & Arduino Starter Kit and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents