Skip navigation
The "hello world" of the Arduino is the blink sketch. This demonstrates that your board is working by blinking an LED, typically the on-board LED attached to pin13 but it has a problem. The code uses the "delay" function which waits the desired number of milliseconds before continuing with the next line of the code.   int led = 13; void setup() {                  // initialize the digital pin as an output. & ...