Example project · Displays
Uno R4 · LED matrix heart
The official Arduino_LED_Matrix library scans a heart through the real 12×8 matrix pins. Edit the bitmap in Code to change the pattern.

What's on the bench
- Arduino Uno R4
- Battery
How it's wired
- Battery · pos→Arduino Uno R4 · 5v
- Battery · neg→Arduino Uno R4 · gnd
The code
This Arduino C++ sketch lives in the Code tab; sign in and press Compile & upload to build real firmware for the emulated board.
#include <Arduino_LED_Matrix.h> ArduinoLEDMatrix matrix; uint8_t heart[8][12] = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0}, {0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0}, }; void setup() { matrix.begin(); matrix.renderBitmap(heart, 8, 12); } void loop() {}
Firmware licence
Notice: this firmware uses the LGPL-licensed Arduino core library
arduino-unor4wifi-matrix-heart.bin is statically linked with ArduinoCore-renesas 1.6.0, in Breadboard's port of its UNO R4 WiFi variant to Renesas FSP 5.3.0. Parts of that core are licensed under the GNU Lesser General Public License, version 2.1 or (at your option) any later version ("the Library"). Breadboard distributes this firmware under terms that permit you to modify the work for your own use and to reverse engineer it for debugging such modifications.
- Relink package: arduino-unor4wifi-matrix-heart-relink.zip (346 KB)
- Corresponding source: ArduinoCore-renesas-1.6.0-fsp53-source.zip (3.7 MB)
- Licence texts and relink instructions



