Blink
The first sketch: turning an LED on and off once a second.
Blink, which toggles the built-in LED once a second, is the standard first sketch. It proves that the toolchain, board selection, port and upload path all work, before any wiring.
The first sketch: turning an LED on and off once a second.
Blink, which toggles the built-in LED once a second, is the standard first sketch. It proves that the toolchain, board selection, port and upload path all work, before any wiring.