Skip to content

UCTRONICS/U6144_SSD1306

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

U6144_SSD1306

C code

  • 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 

python code

Install library files

sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel
sudo pip3 install adafruit-circuitpython-ssd1306

Run

cd U6144_SSD1306/python
sudo python3 ssd1306_stats_0.96inch.py

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

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •