How do you plan to solve it?
Solve for resistor value to make sure that 10mA of current flows through the LED. Use Ohm's law to calculate the value of resistor.
/*Paste your code here*/
const int LED = 7;
void setup() {
// put your setup code here, to run once:
pinMode(LED, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LED, HIGH);
delay(400);
digitalWrite(LED, LOW);
delay(800);
}
Add video of the output (know more)
https://drive.google.com/file/d/1Wwmq1-98D54uJWsAPC4iojkXLdumnvzk/view?usp=drive_link
Add a photo of your hardware showing the output.