code for the speed robot
Dependencies: MPU6050-DMP mbed PololuQTRSensors vl53l0x
_pins.h
- Committer:
- deepanaishtaweera174
- Date:
- 2019-10-01
- Revision:
- 8:d7941bcd9981
- Parent:
- 7:fd80a0d11658
File content as of revision 8:d7941bcd9981:
// Gyro Pins #define INTERRUPT_PIN PC_10 // TOF #define XSHUT_pin1 PC_12 //Right Sensor #define XSHUT_pin2 PA_13 //Left Sensor #define XSHUT_pin3 PA_14 //Front Sensor // Motor Pins #define MOTOR_RIGHT_1 PC_14 #define MOTOR_RIGHT_2 PC_15 #define MOTOR_LEFT_1 PH_0 #define MOTOR_LEFT_2 PH_1 #define MOTOR_LEFT_POWER_PIN PA_15 #define MOTOR_RIGHT_POWER_PIN PB_7