AVR Development Board – AVR-DK20A User Manual
41
Lcd_Cmd(_LCD_SHIFT_RIGHT);
delay_ms(500);
}
while(1) { // Endless loop
for(i=0; i<8; i++) { // Move text to the left 7 times
Lcd_Cmd(_LCD_SHIFT_LEFT);
delay_ms(500);
}
for(i=0; i<8; i++) { // Move text to the right 7 times
Lcd_Cmd(_LCD_SHIFT_RIGHT);
delay_ms(500);
}
}
}