oled-i2c.ino
The GIGA's I2C bus (D14/D15 plus the dedicated connector) takes standard 3.3 V modules: the OLED shows uptime and memory, the minimal dashboard for any H7 project.
Hardware required
An Arduino GIGA R1 WiFi (STM32H747, 1DX radio module: Wi-Fi b/g/n + BLE, u.FL antenna included), powered over USB-C. 1 I2C SSD1306 128×64 OLED.
Wiring
SDA on D15, SCL on D14 (or the edge I2C connector), VCC 3.3 V, GND.
How it works
Wire (Mbed's I2C1) + Adafruit_SSD1306: RAM framebuffer copied on display(). begin() returns false when nothing answers at 0x3C — debugging lives in the monitor. In the Arduino IDE, « Arduino Zephyr-based Boards » platform, « Arduino Giga R1 » board; fit the u.FL antenna before using the radio, then Upload.
Going further
Add real inputs (ADC, buttons) to the screen, or a calibration menu driven over CAN.
oled-i2c.ino
// OLED SSD1306 sur le connecteur Qwiic/I2C (Wire) de la GIGA.
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
Adafruit_SSD1306 oled(128, 64, &Wire, -1);
void setup() {
Serial.begin(115200);
Wire.begin();
if (!oled.begin(SSD1306_SWITCHCAPVCC, 0x3C)) {
Serial.println("OLED 0x3C absent"); for (;;);
}
oled.clearDisplay();
}
void loop() {
oled.clearDisplay();
oled.setTextSize(1);
oled.setTextColor(SSD1306_WHITE);
oled.setCursor(0, 0);
oled.printf("GIGA R1\n%lu ms\n", millis());
oled.printf("libre : %u Ko\n", (unsigned)(ESP.getFreeHeap() / 1024));
oled.display();
delay(200);
}