sparkfun / SparkFun_Micro_OLED_Arduino_Library

Arduino library for the SparkFun Micro OLED - a breakout board for a monochrome, 0.66", 64x48 OLED display.
Other
83 stars 60 forks source link

Make the lib works on Wemos (ESP8266) #10

Closed landru29 closed 8 years ago

landru29 commented 8 years ago

On ESP8266, directive PROGMEM must not be specify; otherwise it makes the ESP8266 crash

jimblom commented 8 years ago

Looks like the root of this issue may have been the redefinition of PROGMEM's memory section. I added a catch against the ESP8266 in the latest commit. Seems to be working fine on my ESP8266 Thing, but I don't have a Wemos to test it out on. Feel free to re-open this issue if it's still not working.