🛠 Faire clignoter la LED builtin (broche 13)

Arduino Nano Every · debutant · Schéma : IMG-nano-every-debutant-1-nanoevery-blink-led13.svg — Vue de dessus d'une Arduino Nano Every avec la LED builtin de la broche 13 mise en évidence par des rayons lumineux

Objectives

Discover the Arduino Nano Every — ATmega4809 clocked at 20 MHz, 48 KB of flash, 6 KB of RAM — by blinking the built-in LED on pin 13 (LED_BUILTIN), with no external wiring. This is the getting-started tutorial: it validates the entire chain IDE → cable → USB serial bridge → bootloader → program.

Hardware

Complete code

// Clignotement de la LED builtin — broche 13 sur Nano Every
const uint8_t LED = LED_BUILTIN; // 13 sur cette carte

void setup {
  pinMode(LED, OUTPUT);
}

void loop {
  digitalWrite(LED, HIGH);
  delay(500);
  digitalWrite(LED, LOW);
  delay(500);
}

Expected verification

In the IDE, select "Arduino Nano Every" under Tools > Board, then the COM port that appeared. After uploading, LED 13 blinks every 500 ms. The USB serial port is provided by an onboard bridge module (not a classic FTDI/CH340 chip): the port must remain visible in the serial monitor even when the code prints nothing.

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials