ThingPulse / esp8266-weather-station

ESP8266 Weather Station library supporting OpenWeatherMap, Aeris and other sources
MIT License
1.06k stars 359 forks source link

Not an issue, ESP8266 wth ST7789 #202

Closed abdelhadj closed 2 years ago

abdelhadj commented 2 years ago

Hello,

Thank you for your code! works great. do you think it is complex to adapt it to ST7789? Thank you!

marcelstoer commented 2 years ago

do you think it is complex to adapt it to ST7789

I don't think so. That gorgeous display works over SPI and the Adafruit GFX library is mature and supports ESP8266. You will just have to replace all display.someFunction() calls with their GFX equivalent in the sketch.

abdelhadj commented 2 years ago

Sorry, just to be more specific, what would be the equivalent library to the one ou are using SSD1306Wire?

SSD1306Wire display(I2C_DISPLAY_ADDRESS, SDA_PIN, SDC_PIN);