

char *text1 = "marimv_midiy 1.0";
char *text2 = "bienvenidos...";
void main() {
adcon1 = 0x80; // configure analog inputs and vref
trisa = 0xff; // porta is input
trisc=0x00; // portc is output
lcd8_config(&portc,&portb,2,0,1,7,6,5,4,3,2,1,0); // configura lcd
lcd8_cmd(lcd_clear); // borra lcd
lcd8_cmd(lcd_cursor_off); // quita cursor
lcd8_out(1,1, text1); // arroja text1 en cuadrito 1.1
lcd8_out(2,1, text2); // arroja text2 en cuadrito 2.1
delay_ms(2000);
lcd8_cmd(lcd_clear);
}//~!
Regístrate o identifícate para poder postear en este hilo