Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
pinnames/pinnames.cpp@38:89d2a9e6c96f, 2019-05-15 (annotated)
- Committer:
- yuto17320508
- Date:
- Wed May 15 09:57:11 2019 +0000
- Revision:
- 38:89d2a9e6c96f
- Parent:
- 33:2dbbe198adaf
param
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimizuta | 21:14133581387b | 1 | #include "pinnames.h" |
shimizuta | 21:14133581387b | 2 | #include "mbed.h" |
shimizuta | 21:14133581387b | 3 | |
shimizuta | 21:14133581387b | 4 | PinName pin_can_rd = p9, |
shimizuta | 21:14133581387b | 5 | pin_can_td = p10; |
shimizuta | 22:0ed9de464f40 | 6 | PinName pin_pwm[][2]= { |
shimizuta | 21:14133581387b | 7 | {p22, p21}, |
shimizuta | 21:14133581387b | 8 | {p23, p24}, |
shimizuta | 21:14133581387b | 9 | }; |
shimizuta | 21:14133581387b | 10 | PinName pin_bus = p16; |
shimizuta | 22:0ed9de464f40 | 11 | PinName pin_ec[][2] = { |
shimizuta | 22:0ed9de464f40 | 12 | {p7,p8}, |
shimizuta | 22:0ed9de464f40 | 13 | {p6,p5} |
shimizuta | 21:14133581387b | 14 | }; |
yuto17320508 | 32:aee87dcaf7ca | 15 | PinName pin_hand = p27; |
shimizuta | 22:0ed9de464f40 | 16 | PinName pin_switch_lo = p25; |
shimizuta | 22:0ed9de464f40 | 17 | PinName pin_switch_li = p26; |
yuto17320508 | 33:2dbbe198adaf | 18 | PinName pin_switch_LR = p30;//p27? |
yuto17320508 | 32:aee87dcaf7ca | 19 | PinName pin_switch_modes[3] = |
yuto17320508 | 32:aee87dcaf7ca | 20 | { |
yuto17320508 | 32:aee87dcaf7ca | 21 | p28, |
yuto17320508 | 32:aee87dcaf7ca | 22 | p20, |
yuto17320508 | 32:aee87dcaf7ca | 23 | p29, |
yuto17320508 | 32:aee87dcaf7ca | 24 | } |
yuto17320508 | 32:aee87dcaf7ca | 25 | ; |
shimizuta | 22:0ed9de464f40 | 26 | PinName pin_hcsr04[][2]= { |
shimizuta | 22:0ed9de464f40 | 27 | {p11,p12}, |
shimizuta | 22:0ed9de464f40 | 28 | {p17, p18}, |
shimizuta | 22:0ed9de464f40 | 29 | }; |