How do you plan to solve it?
I used ESP32 Dev module for this task,
1.selecte a GPIO 2 pin (D2)
2.configure the pin into output mode
3. set the pin mode as HIGH so that LED will on
4. delay for 400 milli seconds
5. set pin mode as LOW so that the LED will Off
6. delay for 800 milli seconds
7. repeat from step 3 continuously
/*Paste your code here*/
#define LEDpin 2
void setup() {
// put your setup code here, to run once:
pinMode(LEDpin, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LEDpin,LOW);
delay(400);
digitalWrite(LEDpin,HIGH);
delay(800);
}
Add video of the output (know more)
Add a photo of your hardware showing the output.