Hi, I'm trying to upload a sketch which commands a sensor PIR and this sends data to my ESP 32 DOIT DEVKIT V1 in order to activate a buzzer. Hovewer, as soon as I press the compile button it doesn't upload since it appears this message below the screen:
"exec: "cmd": executable file not found in %PATH%
Error compilando para la tarjeta DOIT ESP32 DEVKIT V1".
Thank you. That was what I wanted to express and I didn't have the correct words. The "verify" and the "upload" which are not buttons but I should press them, as if they were buttons.
Hi Golam. How are you? I uploaded your sketch on my ESP 32 but the onboard led, the blue one, didn't turn on. At the bottom of the screen there was this message:
"exit status 1
Error compilando para la tarjeta DOIT ESP32 DEVKIT V1."
The message is in Spanish, as I live in a Spanish speaking country. It says " exit status 1. Compilation error for the board DOIT ESP32 DEVKIT V1"
In order to know why the blue onboard led did not turn on with your sketch, I attempted a second test. I went to examples, then basics, then blink and then I uploaded that sketch. This time the uploading was correct, in the sense that there was not any strange message at the buttom of the screen. However, the blue onboard lead again didn't turn on. Could it be damaged the onboard led? Thank you very much for your help.
Connect a 2.2k or close + Red/Green/Blue LED at gpio-4 and then upload the following sketch. Report if the LED blinks. (In my ESP, the LED is blinking.)
int LED_BUILTIN = 4; // connect external LED with gpio-4
void setup()
{
pinMode (LED_BUILTIN, OUTPUT);
}
void loop()
{
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}
Ok. I did it but I used the gpio- 23 instead of the gpio 4. Sorry but I cannot see this gpio 4 on the board. Anyway, It didnt turn on the led and again it dropped the same error message, the one I mentioned before.
It doesn't work. It doesn't turn on the external led. I checked everything. It is everything all right, but the led doesn't turn on by using the GPIO 4. I uploaded again the sketch you suggested me to use and I connected the possitive of the external led to GPIO 4. But nothing happens. Here's the code.
int LED_BUILTIN = 4; // connect external LED with gpio-4
Hey Golam! Now it works!. The external led is blinking. I modified the previous sketch you gave me and it works! Instead of writing "Led-builtin" I simply wrote "led". Here's the modification: