programme ines avce xbee
Dependencies: MMA8451Q mbed xbee_lib
Fork of Programme_course by
Diff: Mlib.h
- Revision:
- 1:4a9196bcf97a
- Parent:
- 0:3ec7fc598e48
- Child:
- 2:ddf9879f0e25
diff -r 3ec7fc598e48 -r 4a9196bcf97a Mlib.h --- a/Mlib.h Thu Jan 26 07:37:45 2017 +0000 +++ b/Mlib.h Wed Feb 08 15:16:04 2017 +0000 @@ -73,6 +73,7 @@ /***************SHIELD*****************/ extern char bosse; extern int ajust_vitesse; +extern int ajust_vit_bosse; extern int vitesse_virage; extern DigitalOut BP1; extern DigitalOut BP2; @@ -80,8 +81,8 @@ extern DigitalOut led2; extern DigitalOut led3; extern DigitalOut led4; -extern DigitalIn S1; -extern DigitalIn S2; +extern DigitalIn S1; // switch 1 +extern DigitalIn S2; // switch 2 extern DigitalIn S3; extern DigitalIn S4; extern AnalogIn pot1; @@ -116,6 +117,10 @@ extern int ligne_droite; +extern DigitalOut led5; +extern DigitalOut led6; +extern DigitalOut led7; +