Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <MD_Parola.h>
- #include <MD_MAX72xx.h>
- #include <SPI.h>
- #define HARDWARE_TYPE MD_MAX72XX::FC16_HW
- #define MAX_DEVICES 4
- #define CS_PIN 3
- MD_Parola myDisplay = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES);
- void setup() {
- myDisplay.begin();
- myDisplay.setIntensity(0);
- myDisplay.displayClear();
- myDisplay.displayText(" Daradici Levente Scrolling text with Arduino UNO and Max 7219 Dot Matrix LED display - Arduino for beginners - ", PA_CENTER, 80, 0, PA_SCROLL_LEFT, PA_SCROLL_LEFT);
- }
- void loop() {
- if (myDisplay.displayAnimate()) {
- myDisplay.displayReset();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement