Need an urgent help -
I am using 4 number of 16x32 P10 LED in a combination of 32x64 - 2 Row and 2 Column.
I need to display different animations on each row. Example - 1st row should display the sliding text and 2nd row should perform the flashing text.
However, I am able to play the animation at one row keeping 2nd row animation static. Can anybody please let me know how we can achieve it to play the animations on both rows?
Below is the code that I am using -
dmd.drawString(event_len1,17,"Hello",strlen("Hello"),GRAPHICS_NORMAL); // the stationary string
dmd.drawString(event_len2,25,"World",strlen("World"),GRAPHICS_NORMAL); // the stationary string
dmd.drawMarquee("CODE BLINKING!",strlen("CODE BLINKING!"),0, 4); // set up the marquee
time = millis();
n=0;
while(n<3) {
while (!ret) {
if ((time+20) < millis()) {
ret = dmd.stepSplitMarquee(0,16); // parameters are the top & bottom rows to be scrolled
time = millis();
}
}
ret = false;
n++;
}
dmd.clearScreen( true );
dmd.drawString(name_len1,1,"HELLO",strlen("HELLO"),GRAPHICS_NORMAL); // the stationary string
dmd.drawString(name_len2,9,"WORLD!",strlen("WORLD!"),GRAPHICS_NORMAL); // the stationary string
unsigned long currentMillis = millis();
for (int i=0; i <= 8; i++) {
if(previousMillis - currentMillis > interval) {
dmd.drawString(event_len1,17,"TOGGLE",strlen("TOGGLE"),GRAPHICS_TOGGLE); // the stationary string
dmd.drawString(event_len2,25,"TEST",strlen("TEST"),GRAPHICS_TOGGLE); // the stationary string
delay(300);
}
}
dmd.clearScreen( true );
Need an urgent help - I am using 4 number of 16x32 P10 LED in a combination of 32x64 - 2 Row and 2 Column.
I need to display different animations on each row. Example - 1st row should display the sliding text and 2nd row should perform the flashing text.
However, I am able to play the animation at one row keeping 2nd row animation static. Can anybody please let me know how we can achieve it to play the animations on both rows?
Below is the code that I am using -