BroBot Code for ESE350 Lab6 part 3 (Skeleton)
Dependencies: MPU6050_V3 mbed-rtos mbed
Fork of BroBot_RTOS_ESE350 by
Diff: pin_assignments.h
- Revision:
- 3:2f76ffbc5cef
- Child:
- 4:2512939c10f0
--- /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