Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By makerbro
#42725
Mark Morris wrote:Hi Martin & mhlangensiepen,

These functions are in a separate source file in the original zip OLED_MOD.ino, simplest way is probably just to copy them into the main source file and compile.

Mark


Nope, the order of the functions is not sequential. That is, some functions are defined after they're called by other functions. Adding the prototypes is the path of least resistance (see my previous post).
User avatar
By danbicks
#42936 Here is a Zip file.

Extract to a folder and only open the file marked ESP WIFISCAN_OLED_ACQUIRE.ino

Good luck

Dans

ESP_WIFISCAN_OLED_ACQUIRE_ZIP.zip
You do not have the required permissions to view the files attached to this post.
User avatar
By enormous
#47753
gerardwr wrote: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!

This is what I was missing!

Thanks Gerard and Dan!