- Código: Selecionar todos
void lcd(){
Lcd_custom_cmd(LCD_CLEAR);
Lcd_custom_cmd(LCD_CURSOR_OFF);
Lcd_Custom_out(1,2,"Seja Bem Vindo");
Delay_ms(500);
}
Valew
Moderadores: andre_luis, 51, guest2003, Renie
void lcd(){
Lcd_custom_cmd(LCD_CLEAR);
Lcd_custom_cmd(LCD_CURSOR_OFF);
Lcd_Custom_out(1,2,"Seja Bem Vindo");
Delay_ms(500);
}
void lcd(){
Lcd_custom_cmd(LCD_CLEAR);
Lcd_custom_cmd(LCD_CURSOR_OFF);
Lcd_Custom_out(1,2,"Seja Bem Vindo");
Delay_ms(500);
return;
}
void lcd(){
Lcd_custom_cmd(LCD_CLEAR);
Lcd_custom_cmd(LCD_CURSOR_OFF);
Lcd_Custom_out(1,2,"Seja Bem Vindo");
Delay_ms(500);
}
// ********** Programa principal **********//
void main (){
trisb = 1;
portb = 1;
portb.f7 =~ portb.f7;
delay_ms(1000);
lcd();
}
void lcd(){
Lcd_custom_cmd(LCD_CLEAR);
Lcd_custom_cmd(LCD_CURSOR_OFF);
Lcd_Custom_out(1,2,"Seja Bem Vindo");
Delay_ms(500);
}
// ********** Programa principal **********//
void main ()
{
while (1)
{
trisb = 1;
portb = 1;
portb.f7 =~ portb.f7;
delay_ms(1000);
lcd();
};
}
void lcd()
{
print_lcd( /* atualiza lcd */ );
}
void teclado()
{
char c = getch();
if (c == 27)
{
lcd();
}
else
{
print_lcd( c );
}
}
void porta()
{
if ( /* analisa a porta */ )
{
lcd();
}
}
void main()
{
/* setup */
while (1)
{
if ( teclado_tem_tecla() )
teclado();
if ( porta_mudou() )
porta();
delayms(1000);
lcd();
}
}
Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante