Britney Dorval
/
Yusheng-final_project
Final project with problem
Fork of Yusheng-final_project by
pin_assignments.h@3:2f76ffbc5cef, 2016-10-12 (annotated)
- Committer:
- csharer
- Date:
- Wed Oct 12 05:04:10 2016 +0000
- Revision:
- 3:2f76ffbc5cef
- Child:
- 4:2512939c10f0
first commit to BroBot;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
csharer | 3:2f76ffbc5cef | 1 | //pin_assignments.h |
csharer | 3:2f76ffbc5cef | 2 | //Contains all the pin assignments for this project |
csharer | 3:2f76ffbc5cef | 3 | |
csharer | 3:2f76ffbc5cef | 4 | //GND |
csharer | 3:2f76ffbc5cef | 5 | //VIN |
csharer | 3:2f76ffbc5cef | 6 | // |
csharer | 3:2f76ffbc5cef | 7 | |
csharer | 3:2f76ffbc5cef | 8 | //Pin Declarations |
csharer | 3:2f76ffbc5cef | 9 | |
csharer | 3:2f76ffbc5cef | 10 | |
csharer | 3:2f76ffbc5cef | 11 | //Motor Driver Pins |
csharer | 3:2f76ffbc5cef | 12 | #define MOTOR1_STEP p19 |
csharer | 3:2f76ffbc5cef | 13 | #define MOTOR1_DIR p20 |
csharer | 3:2f76ffbc5cef | 14 | #define MOTOR2_STEP p15 |
csharer | 3:2f76ffbc5cef | 15 | #define MOTOR2_DIR p17 |
csharer | 3:2f76ffbc5cef | 16 | #define MOTOR_ENABLE p18 |
csharer | 3:2f76ffbc5cef | 17 | |
csharer | 3:2f76ffbc5cef | 18 | //MPU6050 SPI PINS |
csharer | 3:2f76ffbc5cef | 19 | #define I2C_SDA p28 |
csharer | 3:2f76ffbc5cef | 20 | #define I2C_SCL p27 |
csharer | 3:2f76ffbc5cef | 21 | #define CHECKPIN p29 //for IMU interupt pin |