Zach Christensen
arduino journey
P01First LightSession 1✓ Working

Blink

On-board LED, 100ms on and 75ms off. Proves the board and the upload path, nothing else.

Running

The sketch

01_Blink.inocomments stripped
void setup() {  pinMode(LED_BUILTIN, OUTPUT);}void loop() {  digitalWrite(LED_BUILTIN, HIGH);  delay(100);  digitalWrite(LED_BUILTIN, LOW);  delay(75);}

No parts, no breadboard, and no notebook page for this one. There was no math to do and nothing to draw. The LED is already wired to D13 on the board.

This is the "does anything work at all" test. Board, cable, driver, upload toolchain, all proven before a breadboard shows up.

Stock example uses delay(1000). I dropped it to 100 on and 75 off so it reads as a flicker instead of a blink. Somewhere under 50ms it stops looking like blinking and starts looking dim, which is PWM before I knew what PWM was.

What I learned