diff --git a/src/main.cpp b/src/main.cpp index ae76f62..8ea892c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,7 @@ #include #include #include "NvmEeprom.hpp" +#include "Arduino_LED_Matrix.h" // joystick calibration #define TIME_CAL_1 2000 @@ -8,6 +9,7 @@ // static objects AlignedJoy joystick_1(0, 1); /// X on A0, Y on A1 +ArduinoLEDMatrix ledMatrix; void runJoystickCalibrationRoutine(AlignedJoy &joy) { @@ -92,10 +94,13 @@ void setup() { // SERIAL INITIALIZE - Serial.begin(9600); + Serial.begin(115200); + ledMatrix.loadSequence(LEDMATRIX_ANIMATION_STARTUP); + ledMatrix.begin(); while (!Serial) { } + ledMatrix.play(true); // retrieve joystic calibration values or run calibration and save results NonVolatileMemory nvm = {};