ARES
/
Timer
Time is good
Fork of Robot2016_2-0 by
entete.h
- Committer:
- IceTeam
- Date:
- 2016-05-06
- Revision:
- 88:e4de39dd3e2e
- Parent:
- 87:60d81ecab4f5
- Child:
- 89:46730de0d013
File content as of revision 88:e4de39dd3e2e:
#ifndef FONCTIONS_H #define FONCTIONS_H #include "RoboClaw/RoboClaw.h" #include "mbed.h" extern BusOut drapeau; extern RoboClaw roboclaw; extern AnalogIn Rcapt1; extern int RvalRcapt1; extern AnalogIn Rcapt2; extern int RvalRcapt2; extern AnalogIn Rcapt3; extern int RvalRcapt3; extern int Ravance; extern DigitalIn start; extern DigitalIn CAMP; extern DigitalIn START; extern DigitalOut LEDR; extern DigitalOut LEDV; extern DigitalIn button; extern int SCouleur; // Fonctions main.cpp void Sharps(); void endFonc (); //vFonctions deplacement.cpp void GotoThet (float timer, int signe); void GotoDist (float timer); void GotoArr(float timer); // Fonctions test.cpp void wait_start(); void TestDist3(float start, float pas); void TestThet3(float start, float pas); void compareThet(float start); // Fonctions couleur.cpp void depart(void); void changeCamp(void); #define accel_angle 1 #define vitesse_angle 400 #define deccel_angle 400 #define accel_dista 2000 #define vitesse_dista 2000 #define deccel_dista 2000 #define waiting_time 1 #define R_SEUIL_SHARP 1 #define GAUCHE 1 #define DROITE -1 #define VERT 1 #define VIOLET 2 #define NOIR 3 #endif