androdlang / InfoTicker

Scrolling text library for the SSD1306 display / Arduino
9 stars 5 forks source link

This is not a Arduino-compatible library(?) #5

Open petzl20 opened 5 years ago

petzl20 commented 5 years ago

The comments say: "Smooth scrolling text library for the SSD1306 display / Arduino. With this library you can display a horizontal scrolling textline on your SSD1306 display. [...] I've written this library for the Wemos LOLIN32 board, which uses an ESP32 with a SSD1306 OLED display."

If you try to use the JLInfoTicker.h You need SSD1306Wire.h, which requires the "ESP8266/ESP32 OLED Driver for 1306 display" library, which is for the ESP32.

So, there's no way this can work on an Arduino, right? And its not a simple issue of just substituting the appropriate Arduino libraries: eg, Adafruit_SSD1306.h for SSD1306Wire.h. As I'm looking there seems to be certain functions in the ESP32 that are missing in Adafruit's version: eg, references to setTextAlignment().

mm108 commented 5 years ago

Have you added this driver library and get the OLED examples in that lib to work? I have to mention I am no expert on Arduino/ESP32 but I think you may be able to get this to work.