🛠 Faire clignoter la LED de la GIGA R1 WiFi

Arduino GIGA R1 WiFi · debutant · Schéma : IMG-giga-r1-wifi-debutant-1-clignotement-led.svg — Vue de dessus de la GIGA R1 WiFi avec la LED utilisateur, le port USB-C et l'antenne u.FL mis en évidence

Objectives

Discover the Arduino GIGA R1 WiFi board (SKU ABX00063): its STM32H747XI dual-core SoC (Cortex-M7 up to 480 MHz + Cortex-M4 up to 240 MHz), its 76 GPIO pins at 3.3 V maximum, and write your very first Arduino sketch. By the end, you will know how to install the core, select the board in IDE 2.x, upload code, and blink the user LED, with or without an external LED.

Hardware

Complete code

// Arduino GIGA R1 WiFi — clignotement LED
// Carte IDE : "Arduino Giga R1" (core mbed ou Zephyr, le code est identique)
const int LED = LED_BUILTIN;   // LED utilisateur embarquée
const int LED_EXT = 5;         // LED externe + 330 ohms vers GND (broche PWM-capable)

void setup {
  pinMode(LED, OUTPUT);
  pinMode(LED_EXT, OUTPUT);
}

void loop {
  digitalWrite(LED, HIGH);
  digitalWrite(LED_EXT, HIGH);
  delay(200);                      // 200 ms allumée
  digitalWrite(LED, LOW);
  digitalWrite(LED_EXT, LOW);
  delay(800);                      // 800 ms éteinte
}

Expected verification

The user LED blinks with a short/long pattern (200 ms / 800 ms). The green power LED remains lit. On your PC, the board is detected via USB (Arduino VID 0x2341) and appears in the IDE's serial monitor. If you wired the external LED, it blinks in unison — don't forget the resistor: each I/O pin is limited to 8 mA.

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials