Hi @grb.
You can use pinMode and digitalWrite if you like. The pins on the RA4M1 connected to the matrix are mapped to Arduino pins:
Here is a simple sketch to blink LED 1 in the matrix:
void setup() {}
void loop() {
pinMode(35, OUTPUT);
pinMode(31, OUTPUT);
digitalWrite(35, HIGH);
digitalWrite(31, LOW);
delay(1000);
pinMode(35, INPUT);
pinMode(31, INPUT);
delay(1000);
}
Or you can use use the lower level API from the Renesas FSP (which the "Arduino UNO R4 Boards" core is based on) if you prefer: