Skip to content

Commit 1e94dfe

Browse files
authored
Merge pull request #198 from alranel/gallery
Add gallery of icons and animations
2 parents b99dca4 + 01463f8 commit 1e94dfe

File tree

4 files changed

+579
-4
lines changed

4 files changed

+579
-4
lines changed

Diff for: libraries/Arduino_LED_Matrix/examples/DisplaySingleFrame/DisplaySingleFrame.ino

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
#include "Arduino_LED_Matrix.h" // Include the LED_Matrix library
11-
#include "frames.h" // Include a header file containing frame data
11+
#include "frames.h" // Include a header file containing some custom icons
1212

1313
ArduinoLEDMatrix matrix; // Create an instance of the ArduinoLEDMatrix class
1414

@@ -30,8 +30,8 @@ void loop() {
3030
matrix.loadFrame(happy);
3131
delay(500);
3232

33-
// Load and display the "heart" frame on the LED matrix
34-
matrix.loadFrame(heart);
33+
// Load and display the "big heart" frame provided by the library
34+
matrix.loadFrame(LEDMATRIX_HEART_BIG);
3535
delay(500);
3636

3737
// Print the current value of millis() to the serial monitor

Diff for: libraries/Arduino_LED_Matrix/library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=LED_Matrix
2-
version=1.0.0
2+
version=1.1.0
33
author=Arduino
44
maintainer=Arduino <[email protected]>
55
sentence=LED matrix driver for UNO R4 WiFi

Diff for: libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "Arduino.h"
22
#include "FspTimer.h"
3+
#include "gallery.h"
34

45
#define NUM_LEDS 96
56

0 commit comments

Comments
 (0)