12x8 LED Matrix
Display custom LED patterns on 12x8 LED matrix on Arduino Uno R4 Wi-Fi board
Since R2026a
Libraries:
Simulink Support Package for Arduino Hardware /
Common
Description
Use the 12x8 LED Matrix block to control the built-in 12-by-8 LED matrix (96 LEDs arranged in 12 columns and 8 rows) on the Arduino® Uno R4 Wi-Fi® board.
Use one of the following input methods to illuminate the LEDs.
12x8 Matrix block — Use the check boxes on this block to generate a binary matrix of LED pattern. Input this matrix to the 12x8 LED Matrix block to flash the selected LEDs on the Arduino Uno R4 Wi-Fi board.
Vector of LED positions — Use an input vector specifying LED positions you want to illuminate, ranging from 1 to 96. For example, use the vector [
129496] to illuminate LEDs positioned at indices 1, 3, 94, and 96. Indices outside this range are ignored.96-bit frame vector — Use an input vector of three
uint32values representing the 96-bit LED matrix. For example, use the vector [0x3184a4440x440420810x100a0040] where each bit corresponds to the on/off state of an individual LED.
Supported Arduino Board
Arduino Uno R4 Wi-Fi
Ports
Input
Version History
Introduced in R2026a