Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By mvdbro
#35180 Thanks for the OLED code sample. It was a breeze to integrate this into our little ESP Easy project. So now we can display sensor data onto this neat little display.
You do not have the required permissions to view the files attached to this post.
User avatar
By gerardwr
#39721 Works great on a Wemos D1 board.

HW connections:
- Wemos-3.3V to Oled-Vcc
- Wemos-GND to Oled-GND
- Oled-SDA to Wemos-SDA/D14
- Oled-SCL to Wemos-SCL/D15

SW changes:
Code: Select allWire.pins(0, 2); //on ESP-01. 

replaced by
Code: Select allWire.pins(SDA, SCL); //on Wemos D1


NOTE : Compared to other Oled sketches I found the picture on the screen is "upside down".

Thanks for sharing Dan!
User avatar
By danbicks
#39766 Hi @ gerardwr,

A pleasure buddy.

I did not want any dependencies and simply works out of the box :)

Look through this topic you can change screen orientation.

Dans