Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SRF08 Servo mbed
CAR.h
00001 #ifndef CAR_H 00002 #define CAR_H 00003 00004 00005 class CAR 00006 { 00007 public: 00008 CAR(PinName TX, PinName RX); 00009 // ~CAR(); 00010 void Led (bool l1,bool l2,bool l3,bool l4); 00011 void avancer(char Vit); 00012 void reculer(char Vit); 00013 void arreter(void); 00014 void tourner_droite(char Vit); 00015 void tourner_gauche(char Vit); 00016 void demi_tour_droite(char Vit); 00017 void demi_tour_gauche(char Vit); 00018 00019 private: 00020 void emiss(char Code, char Vit); 00021 void myVirageGauche (char Vit , char Ang); 00022 void myVirageDroite (char Vit , char Ang); 00023 00024 00025 00026 }; 00027 #endif
Generated on Wed Jul 20 2022 12:27:19 by
1.7.2