Robot secondaire
Dependencies: RoboClaw mbed StepperMotor
Fork of RoboClaw by
Functions/defines.h
- Committer:
- sype
- Date:
- 2016-05-05
- Revision:
- 77:f19cc7f81f2a
- Parent:
- 51:1056dd73a748
File content as of revision 77:f19cc7f81f2a:
#ifndef DEFINES_H #define DEFINES_H #include "DefinesSharps.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; #endif