• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32

Q&A Forum › Category: Questions › ESP32
0 Vote Up Vote Down
Firdosh Nogama asked 5 years ago

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?

4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.
Can you provide more details about the error?
Can you share a link to the code you are using?
Regards,
Sara

0 Vote Up Vote Down
firdosh answered 5 years ago

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.

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

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

0 Vote Up Vote Down
firdosh answered 5 years ago

Hi Sarah,

I managed to get it all working. Deleted IDE and loaded IDE again from fresh which solved my error problems.

Thank you for all your prompt replies.

Rgds.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.