B4R Question rAdafruitSSD1306 and ESP32S

Mostez

Active Member
Licensed User
I tried to compile this clock code example with ESP32S board but I got this compilation error. any ideas?
Thanks

B4R Version: 2.60
Parsing code. (0.00s)
Building folders structure. (0.01s)
Compiling code. (0.04s)
Building project (0.01s)
Compiling & deploying Ino project (DOIT ESP32 DEVKIT V1 - COM20) Error
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
Multiple libraries were found for "WiFi.h"
Used: C:\Users\Halim\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi
Adafruit_SSD1306.cpp:28:25: error: util/delay.h: No such file or directory
Not used: C:\Program Files\Arduino\libraries\WiFi
compilation terminated.
exit status 1
 

Mostez

Active Member
Licensed User
what about this line?
Adafruit_SSD1306.cpp:28:25: error: util/delay.h: No such file or directory
 

Mostez

Active Member
Licensed User
did not compile OK with ESP32, i tried ESP-12E, compiled OK but OLED displayed nothing.
 

Mostez

Active Member
Licensed User
I did the following:
ran I2C scanner and reported I2C device at 60 , I2C bus connection is OK
ran bouncing ball code with two external 10K pull-up resistors (SDA and SCL)and one more time without them, OLED did not respond in both cases
measured voltage 5.03V
ran same code on arduino leonardo, OLED worked OK
I don't know what is wrong :(
 

Attachments

Top