-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.h
38 lines (24 loc) · 860 Bytes
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//created by Isaac Yates March 10 2015
//the order of the includes and defines in this file matter... et_drive, tophat_drive, and camera use functions in the driveTrain header.
/*when writing functions, first part of function name should be header, and parameters should go in this order:
(port, velocity, delta_x, delta_theta, shut_down_time)
ex. driveTrain_move_mm(int velocity, int millimeters);
OR
ex. servo_spin_angle(int velocity, int angle, int shut_down_in);
*/
#ifndef __CONFIG_H__
#define __CONFIG_H__
#define PI 3.14159265359
#include "servo.h"
#include "motor.h"
#include "et.h"
#include "create/create_config.h"
#include "create/create_drive.h"
#include "create/create_sensor.h"
#include "driveTrain.h"
#include "et_drive.h"
#include "tophat_drive.h"
#include "camera.h"
//#include "create_drive.h"
#endif
//Happy coding ;)