diff --git a/Adafruit_SSD1306.h b/Adafruit_SSD1306.h index 0888652..6d05000 100644 --- a/Adafruit_SSD1306.h +++ b/Adafruit_SSD1306.h @@ -32,6 +32,9 @@ All text above, and the splash screen must be included in any redistribution #define HAVE_PORTREG #elif defined(ARDUINO_ARCH_SAMD) // not supported +#elif defined(ESP8266) + typedef volatile uint32_t PortReg; + typedef uint32_t PortMask; #else typedef volatile uint8_t PortReg; typedef uint8_t PortMask;