sampleProgram
Dependencies: QEI accelerator bit_test cyclic_io cyclic_var cylinder event_var limit mbed mecanum motor_drive pid pid_encoder rs422_put sbdbt servo
Fork of 17robo_fuzi by
Diff: main.cpp
- Revision:
- 59:68a73b9d27f5
- Parent:
- 58:6cd46488f59b
- Child:
- 60:07d7bde726f9
- Child:
- 63:7e7d0cbc06c3
- Child:
- 64:41dcec6c20bc
--- a/main.cpp Tue Sep 19 04:29:46 2017 +0000 +++ b/main.cpp Tue Sep 19 05:34:12 2017 +0000 @@ -37,8 +37,8 @@ #define yaw_Ki 0.01 #define yaw_Kd 0.01 #define acceleration 15 //25 -#define pin_cylinder_on p17 -#define pin_cylinder_off p18 +#define pin_cylinder_on p18 +#define pin_cylinder_off p17 #define pin_interrupt_cylinder_min p23 #define encoder_A p25 #define encoder_B p26