1. Same circuit, new board
Try firstAn LED is wired to pin 4. Write the two lines that set it up and switch it on.
Check your answer
pinMode(4, OUTPUT); (in setup) and digitalWrite(4, HIGH); (in loop).
An Arduino names its pins by number. pinMode(12, OUTPUT) sets pin 12 up as an output, and digitalWrite(12, HIGH) switches it to 5 V (LOW is 0 V). The number in every line must be the pin the wire goes to: the code doesn't find the LED for you. A pin written HIGH without pinMode(..., OUTPUT) only glows dimly.






