scroll only one row of displays

The Dot Matrix Display (DMD) is a 32x16 array of high-brightness LEDs for visually striking effects. [Product Page]
Post Reply
i_demidov
Posts: 5
Joined: Sun Aug 21, 2016 2:19 pm

scroll only one row of displays

Post by i_demidov » Tue Sep 06, 2016 7:01 am

I Have 12 displays in 4 row.

#define DISPLAYS_ACROSS 3
#define DISPLAYS_DOWN 4

When i do like in manual

void drawText(String dispString)
{
//dmd.clearScreen( true );
//dmd.selectFont( Arial_Black_16 );
char newString[256];
int sLength = dispString.length();
dispString.toCharArray( newString, sLength+1 );
dmd.drawMarquee(newString,sLength,( 32*DISPLAYS_ACROSS )-1 , 0 );
long start=millis();
long timer=start;
long timer2=start;
boolean ret=false;
while(!ret){
if ( ( timer+20 ) < millis() ) {
ret=dmd.stepMarquee( -1 , 0 );
timer=millis();
}
}
}

than all rows are scrolling. How can i do that only one row will be scroll?

Loki
Posts: 18
Joined: Mon Jul 06, 2015 7:12 pm

Re: scroll only one row of displays

Post by Loki » Mon Sep 12, 2016 6:01 pm


Post Reply