Romain Ame
/
Stressed
coucou
Fork of Robot2016_2-0 by
Functions/defines.h
- Committer:
- sype
- Date:
- 2016-05-04
- Revision:
- 52:1056dd73a748
- Child:
- 56:4fd9636dfb36
- Child:
- 58:02dc8328975a
File content as of revision 52:1056dd73a748:
#ifndef DEFINES_H #define DEFINES_H #include "mbed.h" #include "../RoboClaw/RoboClaw.h" #include "../Odometry/Odometry.h" #include "../StepperMotor/Stepper.h" #include "Map/map.h" #include "AX12.h" #define SEUIL 0.25 #define VERT 1 #define VIOLET 2 #define ATTENTE 0 #define GO 1 #define STOP 2 #define ADR 0x80 #define dt 10000 #define HAUT 1 #define BAS 0 extern Serial logger; extern RoboClaw roboclaw; extern DigitalOut bleu; extern DigitalOut blanc; extern DigitalOut rouge; extern Stepper RMot; extern Stepper ZMot; extern Stepper LMot; extern AnalogIn capt1; extern AnalogIn capt2; extern AnalogIn capt3; extern InterruptIn mybutton; extern InterruptIn EndR; extern InterruptIn EndZ; extern InterruptIn EndL; //extern AX12 left_hand; //extern AX12 right_hand; extern Odometry odo; extern Ticker ticker; extern DigitalIn CAMP; extern DigitalIn START; extern DigitalOut LEDR; extern DigitalOut LEDV; extern DigitalIn button; extern BusOut drapeau; extern DigitalIn EnR; extern DigitalIn EnZ; extern DigitalIn EnL; extern int SIMON_i, SIMON_state, SCouleur, SStart, SSchema; extern bool SIMON_EL, SIMON_EZ, SIMON_ER, SGauche, SDevant, SDroite; #endif