I checked the operation of the ESP32 that was lying around at home. Use Arduino-IDE ver1.8.10 to recognize the ESP32 board and execute the following code. If the LED flashes, you are successful. The location of the pin connected to the + of the LED is arbitrary.
By the way, the LED was broken and I succeeded in the second time.
void setup() {
// put your setup code here, to run once:
pinMode(33,OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(33,HIGH);
delay(500);
digitalWrite(33,LOW);
delay(500);
}
Recommended Posts