/SSD1306

Add OLED display with system information to your board

Primary LanguageCThe UnlicenseUnlicense

OrangePI_OLED

Add OLED display with sys info to your Orange PI board

connection Orange PI Lite:

OLED Name Pin
VDD 3.3v 1
SDA SDA.0 3
SCK SCL.0 5
GND 0v 9

Any other H3 and H2+ boards use i2c-0 pins

To run app:

  1. git clone https://github.com/vadzimyatskevich/SSD1306.git
  2. cd /<path to project>/SSD1306
  3. make
  4. sudo ./build/OrangePI_ssd1306

To run app at boot time:

  1. sudo crontab -e
  2. add row: @reboot /<path to project>/build/OrangePI_ssd1306
  3. reboot board & enjoy :)

Tested with Armbian image https://www.armbian.com/download/, Orange PI Lite and Orange PI Zero boards. How it works How it works