arduino-uno-r4-wifi/animation/animation.ino
Joachim Hummel 5dbc778440 Edit Readme
2024-02-07 13:17:32 +00:00

21 lines
530 B
C++

#include "animation.h" //Include animation.h header file
// Create an instance of the ArduinoLEDMatrix class
ArduinoLEDMatrix matrix;
void setup() {
Serial.begin(115200);
// you can also load frames at runtime, without stopping the refresh
matrix.loadSequence(animation);
matrix.begin();
// turn on autoscroll to avoid calling next() to show the next frame; the paramenter is in milliseconds
// matrix.autoscroll(300);
matrix.play(true);
}
void loop() {
delay(2500);
Serial.println(millis());
}