wonho-maker / Adafruit_SH1106

Adafruit graphic library for SH1106 dirver lcds.
Other
158 stars 93 forks source link

Added support for ESP8266 and ESP32 - not fully tested #16

Open pedrosousabarreto opened 2 years ago

pedrosousabarreto commented 2 years ago

Added compiler flag checks and correct int sizes for ESP8266 and ESP32; Wrapped AVR specific includes and code inside AVR precompiler directives; Wrapped TWBR usage inside #ifdef directive.

This is not fully tested. Only had the chance to test with ESP8266 and ESP32.

BucketHaendl commented 1 year ago

Was in the process of adapting the original library for ESP32 as well and then saw this! Confirm it works with ESP32 and ESP8266 like a charm. Thank you so much! :)

adxoxo commented 1 year ago

Works well! Thank you for your work