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:
git clone https://github.com/vadzimyatskevich/SSD1306.git
cd /<path to project>/SSD1306
make
sudo ./build/OrangePI_ssd1306
To run app at boot time:
sudo crontab -e
- add row:
@reboot /<path to project>/build/OrangePI_ssd1306
- reboot board & enjoy :)
Tested with Armbian image https://www.armbian.com/download/, Orange PI Lite and Orange PI Zero boards.