#include <SPI.h>
#include <DMD2.h>
#include <fonts/SystemFont5x7.h>
#include <fonts/Arial14.h>
// Set Width to the number of displays wide you have
const int WIDTH = 5;
// You can change to a smaller font (two lines) by commenting this line,
// and uncommenting the line after it:
const uint8_t *FONT = Arial14;
//const uint8_t *FONT = SystemFont5x7;
const char *MESSAGE = "TESTING";
**> SoftDMD dmd(WIDTH,2); // DMD controls the entire display**
**> DMD_TextBox box(dmd); // "box" provides a text box to automatically write to/scroll the display**
// the setup routine runs once when you press reset:
void setup() {
Serial.begin(9600);
dmd.setBrightness(255);
dmd.selectFont(FONT);
dmd.begin();
}
// the loop routine runs over and over again forever:
void loop() {
const char *next = MESSAGE;
while(*next) {
Serial.print(*next);
box.print(*next);
delay(200);
next++;
}
}
SoftDMD' does not name a type
20|SoftDMD dmd(WIDTH,2); // DMD controls the entire display even if the folder structure is correct
@UKHeliBobThank you for quick response I've tried by changing SoftDMD to SPIDMD in sketches it works fine for single p10 displays but causes issue when the width is 5 and height is 2 actually it display letter on the first display only after once text is scrolled through all dispay means its working fine for only first time....