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 kusano kiyoshige

Revision:
37:fa738e34c4d3
Parent:
36:dca1081c19b3
Child:
38:b071512af5ca
--- a/main.cpp	Wed Sep 06 02:22:16 2017 +0000
+++ b/main.cpp	Wed Sep 06 02:57:38 2017 +0000
@@ -45,11 +45,11 @@
 #define mecanum_power   1.0
 #define sword_power     0.8
 #define sholder_power   0.8
-#define pin_interrupt_sholderright_max  p21
-#define pin_interrupt_sholderright_min  p22
+#define pin_interrupt_sholderright_max  p11 //p21
+#define pin_interrupt_sholderright_min  p12 //p22
 #define pin_interrupt_sholderleft_max   p7
 #define pin_interrupt_sholderleft_min   p8
-#define pin_servo p29
+#define pin_servo p21
 #define servo_reload_time 1.0
 //#define pin_servo_reload p29 //
 //#define pin_interrupt_reload p30 //