B4R Question rAdafruitSSD1306 and ESP32S


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

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...
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


Well-Known Member
Licensed User
It means there are more libraries in search path, find them and resolve ambiguity.


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


Active Member
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 :(