Closed artkeller closed 6 years ago
Dear Adafruit Team! Thanks for the Adafruit-SSD1331-OLED-Driver-Library-for-Arduino lib.
I compiled with ESP8266 but got PortReg type errors. The following fix in file Adafruit_SSD1331.h worked fine for me.
line 25: #ifdef __SAM3X8E__ typedef volatile RwReg PortReg; typedef uint32_t PortMask; #define _BV(b) (1<<(b)) #elif defined(ESP8266) typedef volatile uint32_t PortReg; typedef uint32_t PortMask; #else typedef volatile uint8_t PortReg; typedef uint8_t PortMask; #endif
BR, Thomas
did same for feather nrf52 - fixed issues.
hiya i think we fixed this in the "spitft" branch - can you try that and let me know?
Dear Adafruit Team! Thanks for the Adafruit-SSD1331-OLED-Driver-Library-for-Arduino lib.
I compiled with ESP8266 but got PortReg type errors. The following fix in file Adafruit_SSD1331.h worked fine for me.
BR, Thomas