MikroElektronika PIC Microcontrollers PIC18 Manuale Utente Pagina 85

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 88
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 84
Robotics experiment with PIC microcontroller l 85
Listing A11-1 : The C program for Robo-PICA to controlled with ER-4 remote
control (final)
{
Lcd_Out(2, 1, "Button A Press "); // Display message Button A press
Backward(255);Delay_ms(50);
}
else if(key=='b' || key=='B') // Button B press?
{
Lcd_Out(2, 1, "Button B Press "); // Display message Button B press
S_Right(255);Delay_ms(50);
}
else if(key=='c' || key=='C') // Button C press?
{
Lcd_Out(2, 1, "Button C Press "); // Display message Button C press
S_Left(255);Delay_ms(50);
}
else if(key=='d' || key=='D') // Button D press?
{
Lcd_Out(2, 1, "Button D Press "); // Display message Button D press
Forward(255);Delay_ms(50);
}
}
}
}
INNOVATIVE EXPERIMENT
Vedere la pagina 84
1 2 ... 80 81 82 83 84 85 86 87 88

Commenti su questo manuale

Nessun commento