Ejemplo n.º 1
0
void lcd_printf(const char *text)
{
 while (*text) // string ends with 0x00
 {
 lcd_sendChar(*text++); // auto-increment the array pointer
 }
}
Ejemplo n.º 2
0
void lcd_marquee(const char *string){
	lcd_sendCommand(LCD_SET_ENTRY | LCD_ENTRY_INCREASE | LCD_ENTRY_SHIFT);
	while( *string != '\0'){
		lcd_sendChar(*string++);
		_delay_ms(200);
	}
	lcd_sendCommand(LCD_SET_ENTRY | LCD_ENTRY_INCREASE | LCD_ENTRY_NOSHIFT);
}
Ejemplo n.º 3
0
void lcd_sendString(const char *string){
	while( *string != '\0')
		lcd_sendChar(*string++);
}