Voili voilou

Dependencies:   RoboClaw StepperMotor mbed

Fork of Robot2016_2-0 by ARES

Functions/func.h

Committer:
IceTeam
Date:
2016-04-20
Revision:
46:8eae88c45a78
Parent:
45:b53ae54062c6

File content as of revision 46:8eae88c45a78:

#ifndef FUNC_H
#define FUNC_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 dt 10000

extern S STAT_CLASS;

void ELpressed(void);
void ELunpressed(void);
void EZpressed(void);
void EZunpressed(void);
void ERpressed(void);
void ERunpressed(void);

void pressed(void);
void unpressed(void);
void JPO(void);

void init_ax12(void);
void init_interrupt(void);
void goHome(void);
void checkAround(void);
void update_main(void);

#endif