Hi All, I am trying to upload code for adafruit OLED display from Randomnerds tutorial to ESP32 Devkit1 by Doit. But keep getting an error… “Error compiling for board Doit ESP32 Devkit1”. this is even without the board plugged in. I load the “led test sketch & wifi test and that works fine. May someone please guide me as to what might be wrong?
Hi.
Can you provide more details about the error?
Can you share a link to the code you are using?
Regards,
Sara
Hi Sara thank for reply. the link attached.
https://randomnerdtutorials.com/esp32-ssd1306-oled-display-arduino-ide/#more-85155.
When uploading OLED code to ESP32 Devkit1 made by Doit, An error message reads as follows in red (“Error Compiling for Board Doit ESP32 Devkit1”) It’s the same even if I press the boot button on esp when uploading.
It’s strange that if I upload sample LED Blink code for esp32 than that loads successfully and LED blinks. The OLED code does not even compile or verify for this board. I have the OLED libberary Installed correctly.
Hi.
When you get that error, it should show more information or highlight where it found the error.
Can you past the complete error?
Regards,
Sara