adafruit / Adafruit_SSD1306

Arduino library for SSD1306 monochrome 128x64 and 128x32 OLEDs
http://www.adafruit.com/category/63_98
Other
1.78k stars 976 forks source link

Request for ESP8266 board compatibility #26

Closed somhi closed 9 years ago

somhi commented 9 years ago

I've created the ESP_SSD1306 library which is a copy of the Adafruit_SSD1306 library with some modifications in order to work with the ESP8266 board.

See my modifications at https://github.com/somhi/ESP_SSD1306

If it would be possible to integrate those changes in your library would be great.

Somhi

probonopd commented 9 years ago

I second this. I get

Arduino/libraries/Adafruit_SSD1306-master/Adafruit_SSD1306.cpp:19:26: fatal error: avr/pgmspace.h: No such file or directory
 #include <avr/pgmspace.h>
                          ^
compilation terminated.

when I try to compile for the ESP8266.

probonopd commented 9 years ago

See https://github.com/adafruit/Adafruit_SSD1306/pull/30

probonopd commented 9 years ago

There are now multiple pull requests to add support for ESP8266 MCUs to choose from. Please review them and merge one of them, thanks.

somhi commented 9 years ago

Ok thanks. I'll do when I have some spare time.

As I'm new to GitHub, I wonder what is the best procedure, whether to create a new pull request like you did or merge my code into #25 or #30 ? Why did you create #30 and didn't merge it into #25?

ncolton commented 9 years ago

Is this something that we need @tdicola @PaintYourDragon @microbuilder to take a look at?

somhi commented 9 years ago

Don't worry, I close issue here as in reality I should place my request in pull request.

honkbonk commented 9 years ago

Have you had a chance to try the following configuration?

-Adafruit Huzzah breakout board -Adafruit 128x64 OLED (https://www.adafruit.com/product/938) -Latest, stable ESP8266 Arduino (1.6.5-947) -Software SPI

I'm having problems with this configuration. The OLED never comes to life and the Huzzah crashes. If you have tried this and had success, could you please document the hardware pins you used?

This fellow seems to have had success - https://bagaloozy.wordpress.com/2015/07/14/cutting-the-cord-epg-getting-the-ssd1306sh1106-oled-working-with-esp8266/

Thanks

somhi commented 9 years ago

I don't have that configuration so I'm afraid I cannot help you @honkbonk

Netoperz commented 7 years ago

Adafruit_SSD1306.cpp:19:26: fatal error: avr/pgmspace.h: No such file or directory

include <avr/pgmspace.h>

is it fixed in current version ?

Problem when i want to compile anything with that OLED on Wemod D1 retired (esp8266) also on NodeMCU v3 also with ESP8266 Using SPI interface

Also i was checking Wemos Accessory shield, where they have OLED same model with SSD1306 but using i2c interface, also NO GO, but same stuff works with leonardo board.

A bit annoing