9.1.4.4 Using Hardware Automated Character
To use hardware automated character (e.g., scrolling here):
structlcdca_automated_char_config automated_char_cfg;
uint8_tconstscrolling_str[] = \"Scrolling string display, Press PB0 to cont. ";
automated_char_cfg.automated_mode = LCDCA_AUTOMATED_MODE_SCROLLING;automated_char_cfg.automated_timer = LCDCA_TIMER_FC2;automated_char_cfg.lcd_tdg = LCDCA_TDG_14SEG4COM;automated_char_cfg.stseg = FIRST_14SEG_4C;automated_char_cfg.dign = WIDTH_14SEG_4C;/* STEPS = string length - DIGN + 1 */automated_char_cfg.steps =sizeof(scrolling_str) - WIDTH_14SEG_4C + 1;automated_char_cfg.dir_reverse = LCDCA_AUTOMATED_DIR_REVERSE;lcdca_automated_char_set_config(&automated_char_cfg);lcdca_automated_char_start(scrolling_str, strlen((charconst*)scrolling_str));
