U6143_ssd1306
Preparation
sudo raspi-config
Choose Interface Options Enable i2c
Clone U6143_ssd1306 library
git clone https://github.com/UCTRONICS/U6143_ssd1306.git
Compile
cd U6143_ssd1306/C
sudo make clean && sudo make
Run
sudo ./display
Add automatic start script
- Open the rc.local file
sudo nano /etc/rc.local
- Add command to the rc.local file
cd /home/pi/U6143_ssd1306/C
sudo make clean
sudo make
sudo ./display &
- reboot your system
For older 0.91 inch lcd without mcu
- For the older version lcd without mcu controller, you can use python demo
- Install the dependent library files
sudo pip3 install adafruit-circuitpython-ssd1306
sudo apt-get install python3-pip
sudo apt-get install python3-pil
- Test demo
cd /home/pi/U6143_ssd1306/python
sudo python3 ssd1306_stats.py