B4R Question rAdafruitSSD1306 and ESP32S

Mostez

Well-Known Member
Licensed User
Longtime 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

Well-Known Member
Licensed User
Longtime User
what about this line?
Adafruit_SSD1306.cpp:28:25: error: util/delay.h: No such file or directory
 
Upvote 0

Mostez

Well-Known Member
Licensed User
Longtime User
I compiled the bouncing ball code to ESP8266-12E board with no errors, but the OLED shows nothing, I replaced the OLED, checked wiring with no hope. please advice

Thanks
 

Attachments

  • ESP8266_oled_display_wiring.png
    ESP8266_oled_display_wiring.png
    25.9 KB · Views: 292
Upvote 0

Mostez

Well-Known Member
Licensed User
Longtime User
did not compile OK with ESP32, i tried ESP-12E, compiled OK but OLED displayed nothing.
 
Upvote 0

Mostez

Well-Known Member
Licensed User
Longtime 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

  • i2c.png
    i2c.png
    2.6 KB · Views: 285
Upvote 0
Top