Solving Approach
How do you plan to solve it?
Arduino output: 5V
LED = 2V
Required current: 10mA converrt to 0.01A
Resistor needed: R = (5V - 2V) / 0.01A = 300Ω
/*Paste your code here*/
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(400);
digitalWrite(13, LOW);
delay(800);
}
Add video of the output (know more)
Add a photo of your hardware showing the output.