yei
Dependencies: interface mbed enc_1multi calPID motorout KondoServoLibrary
Fork of cat18_operate by
Diff: pinnames/pinnames.cpp
- Revision:
- 20:13934809e117
- Parent:
- 10:6d1d44fa9739
- Child:
- 28:bcfc84b481bc
--- a/pinnames/pinnames.cpp Fri Aug 17 08:47:23 2018 +0000 +++ b/pinnames/pinnames.cpp Mon Aug 27 03:47:21 2018 +0000 @@ -1,18 +1,12 @@ #include "pinnames.h" #include "mbed.h" -PinName pin_encoder[][2] = { - {p11,p12}, - {p13,p14}, - {p16,p15}, -}; +PinName pin_encoder[][2] = {{p12,p11},}; PinName pin_motor[][2] = { - {p26,p25}, - {p23,p24}, {p21,p22}, }; PinName pin_can_rd = p30, pin_can_td = p29; -PinName pin_serial_servo_tx = p28, - pin_serial_servo_rx = p27; -PinName pin_touch_sensor[] = {p5, p6, p7, p8}; -PinName pin_button[] = {p20, p19, p18, p17}; \ No newline at end of file +PinName pin_serial_servo_tx[] = {p9, p13, p28}; +PinName pin_serial_servo_rx[] = {p10, p14, p27}; +PinName pin_touch_sensor[] = {p8}; +PinName pin_button[] = {p18, p17, p16, p15}; \ No newline at end of file