Page 1 of 1

scroll only one row of displays

Posted: Tue Sep 06, 2016 7:01 am
by i_demidov
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?

Re: scroll only one row of displays

Posted: Mon Sep 12, 2016 6:01 pm
by Loki