bitbank2 / bb_spi_lcd

SPI LCD/OLED library which can be built for Arduino and Linux
GNU General Public License v3.0
89 stars 13 forks source link

Linux #1

Closed bitbank2 closed 4 years ago

bitbank2 commented 4 years ago

Added Linux support by "wrapping" the Arduino C++ library code in a C wrapper and writing replacement functions for the Arduino-specific I/O. The init function gained a new parameter to toggle BGR/RGB order on some displays. The Linux code depends on my ArmbianIO library to abstract the GPIO of Linux boards.