Britney Dorval
/
Yusheng-final_project_robot
Code for robot
Fork of Yusheng-final_project by
Diff: pin_assignments.h
- Revision:
- 3:2f76ffbc5cef
- Child:
- 4:2512939c10f0
diff -r 42c4f3a7813f -r 2f76ffbc5cef pin_assignments.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pin_assignments.h Wed Oct 12 05:04:10 2016 +0000 @@ -0,0 +1,21 @@ +//pin_assignments.h +//Contains all the pin assignments for this project + +//GND +//VIN +// + +//Pin Declarations + + +//Motor Driver Pins +#define MOTOR1_STEP p19 +#define MOTOR1_DIR p20 +#define MOTOR2_STEP p15 +#define MOTOR2_DIR p17 +#define MOTOR_ENABLE p18 + +//MPU6050 SPI PINS +#define I2C_SDA p28 +#define I2C_SCL p27 +#define CHECKPIN p29 //for IMU interupt pin \ No newline at end of file