Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 851 Bytes

README.md

File metadata and controls

48 lines (39 loc) · 851 Bytes

U6144_SSD1306

This is an heavily modified version of UCTRONICS/U6144_SSD1306

Those are the modifications to the original library:

  • display temperatur in celsius degrees
  • display all the informations on one screen

C code

  • Enable i2c
echo dtparam=i2c_arm=on >> /boot/config-user.txt
echo i2c_dev >> /etc/modules
  • Download library
git clone https://github.com/christophehenry/U6144_SSD1306
  • Compile the source code
cd U6144_SSD1306/C
make clean
make
  • Run the display
cd U6144_SSD1306/C
./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/U6144_SSD1306/C 
sudo make clean 
sudo make 
sudo ./display &`
  • reboot your system