I am going crazy trying to get a blink code working on these esp32s. When I try to use the Arduino ide I cannot even get a simple blink program to compile.
I have put the link for the board manager in under the additional board manager section, https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
I have also added the esp32 through the board manager under tools.
I am positive I have a data cable to (checked)
I tried both as a (esp32 devkit1 & as an esp32 wroover module)
I have searched everywhere for an answer
When I click compile I get the following message
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board ESP32 Wrover Module.
My code is super simple
void setup() {
// Set pin mode
pinMode(2,OUTPUT);
Serial.begin(115200);
}
void loop() {
delay(1000);
digitalWrite(2,HIGH);// HIGH = blue led on
Serial.println("HIGH");
delay(1000);
digitalWrite(2,LOW);// LOW = blue led off
Serial.println("LOW");
}
The online editor compiles the code, but through neither method am I able to have the port the board is connected to to show. The device doesn't even show in the port manager of windows
The product is below if that helps
Teyleten Robot ESP32S ESP32 ESP-WROOM-32 Development Board 2.4GHz Dual-Core WiFi +Bluetooth 2 Function Microcontroller for Arduino (ESP32 30P, 3PCS)
When I plug in the arduino port 7 shows up, but when I plug in these esp 32 boards it only gives me the options for port 3 and 4. Is that maybe something?
I'VE FOUND THE AWNSER
For some reason installing the new IDE version solved the compilation errors
THE PORT NOT SHOWING
This was due to missing drivers......Ahhh this took so long to figure out I am going to link the article that I found the answer in. It was a problem of missing drivers: CP210x USB to UART Bridge VCP Drivers