How do you plan to solve it?
ill connect led in series with a 330 ohms resistor to a gpio pin of the microcontroller, then ill write a program that sets the pin high for 400ms and low for 800ms in a loop. this ensure led blinks continuously with timing, the resistor chosen to limit the led current around 10 Ma
/*Paste your code here*/
int ledPin = 13; // GPIO pin where LED is connected
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop() {
digitalWrite(ledPin, HIGH); // LED ON
delay(400); // wait 400 ms
digitalWrite(ledPin, LOW); // LED OFF
delay(800); // wait 800 ms
}
Add video of the output (know more)
Add a photo of your hardware showing the output.