Displaing long message on LCD
hi!
i'm building arduino controlled radio rda5807m , 2x16 lcd. in upper left corner of display frequency or radio station name provided rds. on lower line of display radio text, can 64 characters. problem able display first 16 characters. possibilities have display whole message. possible substrings?
code here:
i'm building arduino controlled radio rda5807m , 2x16 lcd. in upper left corner of display frequency or radio station name provided rds. on lower line of display radio text, can 64 characters. problem able display first 16 characters. possibilities have display whole message. possible substrings?
code here:
code: [select]
void displaytext(char *name)
{
size_t len = strlen(name);
lcd.setcursor(0, 1);
lcd.print(name);
while (len < 17) {
lcd.print(' ');
len++;
}
}
the lcd controller has capability of storing 80 characters in it's memory regardless of dimensions of display driving. in case can display 32 of characters.
the lcd controller has capability shift 'display window' display of 80 characters although won't happy of limitations. specifically, problem both rows shift simultaneously. 'shifting' capability controlled liquidcrystal library calls 'scrolling' , tinker that.
you can learn more memory setup (and possibly figure out why both rows shift simultaneously) following lcd addressing link @ http://web.alfredstate.edu/weimandn.
you advice use sort of buffer in arduino memory , feed display , might easiest solution although myself can't implementation.
don
the lcd controller has capability shift 'display window' display of 80 characters although won't happy of limitations. specifically, problem both rows shift simultaneously. 'shifting' capability controlled liquidcrystal library calls 'scrolling' , tinker that.
you can learn more memory setup (and possibly figure out why both rows shift simultaneously) following lcd addressing link @ http://web.alfredstate.edu/weimandn.
you advice use sort of buffer in arduino memory , feed display , might easiest solution although myself can't implementation.
don
Arduino Forum > Using Arduino > Displays > Displaing long message on LCD
arduino
Comments
Post a Comment