- Enable i2c
sudo raspi-config
Choose Interface Options Enable i2c
- Download library
git clone https://github.com/UCTRONICS/U6144_SSD1306.git
- Compile the source code
cd U6144_SSD1306/C
make
- Run the display
cd U6144_SSD1306/C
./display
sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel
sudo pip3 install adafruit-circuitpython-ssd1306
cd U6144_SSD1306/python
sudo python3 ssd1306_stats_0.96inch.py
- Open the rc.local file
sudo nano /etc/rc.local
- Add command to the rc.local file
cd /home/pi/U6144_SSD1306/C
sudo make clean
sudo make
sudo ./display &
- reboot your system
- Open the U6143_ssd1306/C/ssd1306_i2c.h file. You can modify the value of the TEMPERATURE_TYPE variable to change the type of temperature displayed. (The default is Fahrenheit)