User Manual
Table Of Contents

67
For C language users:
Step 2: Change directory
cd /home/pi/Sunfounder_SuperKit_C_code_for_RaspberryPi/13_LCD1602/
Step 3: Compile
gcc lcd1602_2.c -o lcd1602_2 -lwiringPiDev -lwiringPi
Step 4: Run
sudo ./lcd1602_2
For Python users
Step 2: Change directory
cd /home/pi/Sunfounder_SuperKit_Python_code_for_RaspberryPi/
Step 3: Run
sudo python 13_lcd1602.py
You should see two lines of characters displayed on the LCD1602: "SUNFOUNDER" and "Hello
World ! :)".
Further Exploration
In this experiment, the LCD1602 is driven in the 4-bit mode. You can try programming by
yourself to drive it in the 8-bit mode.










