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.
Dependencies: mbed
Fork of circle_war_ver_A_NUCLEO_ by
pin_file.h@8:554e3d643b2d, 2016-04-03 (annotated)
- Committer:
- baba2357
- Date:
- Sun Apr 03 18:30:55 2016 +0000
- Revision:
- 8:554e3d643b2d
- Parent:
- 6:bb86e2999be0
- Child:
- 9:92ddadd9e9a9
?????spi??
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
baba2357 | 0:fad5ae05b576 | 1 | #ifndef PIN_FILE_H |
baba2357 | 0:fad5ae05b576 | 2 | #define PIN_FILE_H |
baba2357 | 0:fad5ae05b576 | 3 | |
baba2357 | 0:fad5ae05b576 | 4 | //速度制御 |
username16248 | 6:bb86e2999be0 | 5 | InterruptIn a(PC_2); |
username16248 | 6:bb86e2999be0 | 6 | InterruptIn b(PC_3); |
username16248 | 6:bb86e2999be0 | 7 | InterruptIn c(PA_15); |
username16248 | 6:bb86e2999be0 | 8 | InterruptIn d(PC_13); |
username16248 | 6:bb86e2999be0 | 9 | InterruptIn e(PC_10); |
username16248 | 6:bb86e2999be0 | 10 | InterruptIn f(PC_12); |
username16248 | 6:bb86e2999be0 | 11 | PwmOut g(PB_8); |
username16248 | 6:bb86e2999be0 | 12 | PwmOut h(PB_9); |
username16248 | 6:bb86e2999be0 | 13 | PwmOut i(PB_6); |
username16248 | 6:bb86e2999be0 | 14 | PwmOut j(PA_9); |
username16248 | 6:bb86e2999be0 | 15 | PwmOut k(PA_8); |
username16248 | 6:bb86e2999be0 | 16 | PwmOut l(PB_10); |
baba2357 | 0:fad5ae05b576 | 17 | //自己位置 |
username16248 | 6:bb86e2999be0 | 18 | InterruptIn m(PC_7); |
username16248 | 6:bb86e2999be0 | 19 | InterruptIn n(PC_11); |
username16248 | 6:bb86e2999be0 | 20 | InterruptIn o(PC_1); |
username16248 | 6:bb86e2999be0 | 21 | InterruptIn p(PC_0); |
baba2357 | 0:fad5ae05b576 | 22 | //上下機構&アーム |
username16248 | 6:bb86e2999be0 | 23 | InterruptIn q(PC_8); |
username16248 | 6:bb86e2999be0 | 24 | InterruptIn r(PC_6); |
baba2357 | 8:554e3d643b2d | 25 | PwmOut up(PB_4); |
baba2357 | 8:554e3d643b2d | 26 | PwmOut down(PB_5); |
baba2357 | 8:554e3d643b2d | 27 | DigitalOut Cilinder(PB_7); |
baba2357 | 0:fad5ae05b576 | 28 | //SPI mbed |
baba2357 | 8:554e3d643b2d | 29 | SPISlave from_mbed(PA_7, PA_6, PA_5, PA_4); |
baba2357 | 0:fad5ae05b576 | 30 | //SPI NUCLEO |
baba2357 | 8:554e3d643b2d | 31 | SPISlave from_gyro(PB_15, PB_14, PB_13, PB_12); |
baba2357 | 0:fad5ae05b576 | 32 | //赤外線・超音波 |
username16248 | 6:bb86e2999be0 | 33 | AnalogIn v(PA_1); |
username16248 | 6:bb86e2999be0 | 34 | AnalogIn w(PB_1); |
baba2357 | 8:554e3d643b2d | 35 | DigitalInOut x(PC_4); |
baba2357 | 1:86d25c1c4bd5 | 36 | //自動切り替え |
username16248 | 6:bb86e2999be0 | 37 | DigitalIn y(PA_12); |
username16248 | 6:bb86e2999be0 | 38 | #endif |