
Time is good
Fork of Robot2016_2-0 by
Diff: Functions/defines.h
- Revision:
- 80:cd4960dfa47e
- Parent:
- 79:b11b50108ae5
- Child:
- 81:e7b03e81b025
--- a/Functions/defines.h Thu May 05 15:11:06 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ -#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 float seuils[3]; -extern int SGauche, SDevant, SDroite; - - -extern int SIMON_i, SIMON_state, SCouleur, SStart, SSchema; -extern bool SIMON_EL, SIMON_EZ, SIMON_ER; - -#endif \ No newline at end of file