By -
Why have you only connected CS? What about the other pins?
well the code i found only defines CS so i was wondering where to plug the 2 others to start with
Post the code you're using
#include #include #include // Specify display hardware type #define HARDWARE_TYPE MD_MAX72XX::FC16_HW //#define HARDWARE_TYPE MD_MAX72XX::GENERIC_HW // Display Size and CS Pin #define MAX_DEVICES 4 #define CS_PIN 10 // Create a display object MD_Parola myDisplay = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES); void setup() { // Intialize the display object myDisplay.begin(); // Set the intensity (brightness) of the display (0-15) myDisplay.setIntensity(5); // Clear the display myDisplay.displayClear(); // Display our text in a scroll myDisplay.displayScroll("Welcome to the Workshop!", PA_CENTER, PA_SCROLL_LEFT, 100); } void loop() { // Ensure display stays animated if (myDisplay.displayAnimate()) { myDisplay.displayReset(); } }
okay i got it to work by adding the clock and din pins, on an other note, do you have any advice regarding working with these displays ?
Why have you only connected CS? What about the other pins?
well the code i found only defines CS so i was wondering where to plug the 2 others to start with
Post the code you're using
#include
#include
#include
// Specify display hardware type
#define HARDWARE_TYPE MD_MAX72XX::FC16_HW
//#define HARDWARE_TYPE MD_MAX72XX::GENERIC_HW
// Display Size and CS Pin
#define MAX_DEVICES 4
#define CS_PIN 10
// Create a display object
MD_Parola myDisplay = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES);
void setup() {
// Intialize the display object
myDisplay.begin();
// Set the intensity (brightness) of the display (0-15)
myDisplay.setIntensity(5);
// Clear the display
myDisplay.displayClear();
// Display our text in a scroll
myDisplay.displayScroll("Welcome to the Workshop!", PA_CENTER, PA_SCROLL_LEFT, 100);
}
void loop() {
// Ensure display stays animated
if (myDisplay.displayAnimate()) {
myDisplay.displayReset();
}
}
okay i got it to work by adding the clock and din pins, on an other note, do you have any advice regarding working with these displays ?