Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.6 KB

File metadata and controls

50 lines (40 loc) · 1.6 KB

U6143_ssd1306

Preparation

sudo raspi-config

Choose Interface Options Enable i2c

Clone U6143_ssd1306 library

cd
git clone https://github.com/UCTRONICS/U6143_ssd1306.git

Run setup_display_service.sh script

cd U6143_ssd1306
chmod +x setup_display_service.sh
sudo ./setup_display_service.sh

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

Custom display temperature type

  • 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) EasyBehavior

Custom display IPADDRESS_TYPE type

  • Open the U6143_ssd1306/C/ssd1306_i2c.h file. You can modify the value of the IPADDRESS_TYPE variable to change the type of IP displayed. (The default is ETH0) EasyBehavior

Custom display information

  • Open the U6143_ssd1306/C/ssd1306_i2c.h file. You can modify the value of the IP_SWITCH variable to determine whether to display the IP address or custom information. (The custom IP address is displayed by default) EasyBehavior