#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#include <SPI.h>
MD_Parola P = MD_Parola(MD_MAX72XX::PAROLA_HW, 10, 11);
const uint8_t scrollSpeed = 25; // frame delay
const textEffect_t scrollEffect = PA_SCROLL_LEFT; // scroll direction
const textPosition_t scrollAlign = PA_RIGHT; // end alignment
const uint16_t scrollPause = 2000; // in milliseconds
char curMessage[0xF] = { "I love u Noel!" };
// my boyfriend ^^^^
void setup()
{
P.begin();
P.displayText(curMessage, scrollAlign, scrollSpeed, scrollPause, scrollEffect, scrollEffect);
}
void loop()
{
if (P.displayAnimate())
P.displayReset();
}
uno:A5.2
uno:A4.2
uno:AREF
uno:GND.1
uno:13
uno:12
uno:11
uno:10
uno:9
uno:8
uno:7
uno:6
uno:5
uno:4
uno:3
uno:2
uno:1
uno:0
uno:IOREF
uno:RESET
uno:3.3V
uno:5V
uno:GND.2
uno:GND.3
uno:VIN
uno:A0
uno:A1
uno:A2
uno:A3
uno:A4
uno:A5
m1:V+
m1:GND
m1:DIN
m1:CS
m1:CLK
m1:V+.2
m1:GND.2
m1:DOUT
m1:CS.2
m1:CLK.2