Scrolling Game Title for RetroPie v4.0.2 using 16x2 CLCD on RAS Console-Pi
Small script written in Python for RetroPie project (https://retropie.org.uk/) running on Raspberry Pi 2,3, which displays all necessary info on a 16x2 CLCD display
- Current Date and Time, IP address of eth0, wlan0
- CPU Temperature and Speed
- Emulation and ROM information
- Raspberry Pi 2, 3
- RetroPie v4.0.2 and later
- 16x2 I2C Character LCD
First, you should install Scraper( https://github.com/retropie/retropie-setup/wiki/scraper )
Second, Install below:
cd /home/pi
git clone https://github.com/zzeromin/RetroPie-Clcd.git
cd /home/pi/RetroPie-Clcd/
chmod 755 10.CLCD.sh
sudo ./10.CLCD.sh
You should check your I2C address of 16x2 CLCD. I saw two types of I2C LCD modules. Those are two address each other normally => 0x27 or 0x3f.
sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
edit line #22 in I2C_LCD_driver.py 0x27 or 0x3f.
cd RetroPie-Clcd/
sudo nano I2C_LCD_driver.py
# LCD Address
ADDRESS = 0x27 # or 0x3f
- Raspberry Pi I2C GPIO Pinout
- https://retropie.org.uk/forum/topic/5061/scrolling-game-title-using-16x2-clcd-on-ras-console-pi
- https://retropie.org.uk/forum/topic/2211/questions-about-runcommand-sh
- https://retropie.org.uk/forum/topic/3134/meet-the-retrog-update-17-8-paintjob-pics
- https://retropie.org.uk/forum/topic/3731/solved-variables-with-runcommand-onstart-sh
- https://github.com/retropie/retropie-setup/wiki/runcommand