Project

General

Profile

Statistics
| Revision:

root / branches / autonomous_recharging / code / projects / colonet / utilities / robot_wireless_relay / move.h @ 1390

History | View | Annotate | Download (724 Bytes)

1 13 emarinel
#ifndef _MOVE_H_
2
#define _MOVE_H_
3
4
#define FWD 0
5
#define BCK 1
6
7
#define DELAY_F 250
8
#define DELAY_B 750
9
#define DELAY_R 500
10
#define DELAY_L 500
11
12
#define SLOW_SPD 96
13
#define HALF_SPD 128
14
#define NRML_SPD 160
15
#define FAST_SPD 192
16
#define FULL_SPD 255
17
18
#define SLOW_TURN 64
19
#define NRML_TURN 96
20
#define FAST_TURN 128
21
22
void moveForward(void);
23
//void moveForward(int speed);
24
//void moveForward(int speed, int time);
25
26
void moveBack(void);
27
//void moveBack(int speed);
28
//void moveBack(int speed, int time);
29
30
void turnLeft(void);
31
//void turnLeft(int speed);
32
//void turnLeft(int speed, int time);
33
34
void turnRight(void);
35
//void turnRight(int speed);
36
//void turnRight(int speed, int time);
37
38
#endif