yei
Dependencies: interface mbed enc_1multi calPID motorout KondoServoLibrary
Fork of cat18_operate by
pinnames/pinnames.cpp@2:4515e8cc6b60, 2018-08-05 (annotated)
- Committer:
- shimizuta
- Date:
- Sun Aug 05 03:32:55 2018 +0000
- Revision:
- 2:4515e8cc6b60
- Child:
- 9:a553ace4d9d1
a
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimizuta | 2:4515e8cc6b60 | 1 | #include "pinnames.h" |
shimizuta | 2:4515e8cc6b60 | 2 | #include "mbed.h" |
shimizuta | 2:4515e8cc6b60 | 3 | PinName pin_encoder[][2] = { |
shimizuta | 2:4515e8cc6b60 | 4 | {p11,p12}, |
shimizuta | 2:4515e8cc6b60 | 5 | {p13,p14}, |
shimizuta | 2:4515e8cc6b60 | 6 | {p16,p15}, |
shimizuta | 2:4515e8cc6b60 | 7 | }; |
shimizuta | 2:4515e8cc6b60 | 8 | PinName pin_motor[][2] = { |
shimizuta | 2:4515e8cc6b60 | 9 | {p26,p25}, |
shimizuta | 2:4515e8cc6b60 | 10 | {p23,p24}, |
shimizuta | 2:4515e8cc6b60 | 11 | {p21,p22}, |
shimizuta | 2:4515e8cc6b60 | 12 | }; |
shimizuta | 2:4515e8cc6b60 | 13 | PinName pin_can_rd = p30, |
shimizuta | 2:4515e8cc6b60 | 14 | pin_can_td = p29; |
shimizuta | 2:4515e8cc6b60 | 15 | PinName pin_serial_servo_tx = p13, |
shimizuta | 2:4515e8cc6b60 | 16 | pin_serial_servo_rx = p14; |
shimizuta | 2:4515e8cc6b60 | 17 | PinName pin_touch_sensor[] = {p5, p6, p7, p8}; |
shimizuta | 2:4515e8cc6b60 | 18 | PinName pin_button[] = {p20, p19, p18, p17}; |