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
Diff: pin_file.h
- Revision:
- 9:92ddadd9e9a9
- Parent:
- 8:554e3d643b2d
- Child:
- 14:3403ce49a37a
--- a/pin_file.h Sun Apr 03 18:30:55 2016 +0000 +++ b/pin_file.h Mon Apr 04 07:20:24 2016 +0000 @@ -2,18 +2,30 @@ #define PIN_FILE_H //速度制御 -InterruptIn a(PC_2); -InterruptIn b(PC_3); -InterruptIn c(PA_15); -InterruptIn d(PC_13); -InterruptIn e(PC_10); -InterruptIn f(PC_12); -PwmOut g(PB_8); -PwmOut h(PB_9); -PwmOut i(PB_6); -PwmOut j(PA_9); -PwmOut k(PA_8); -PwmOut l(PB_10); +#define EC1_a PC_2 +#define EC1_b PC_3 +#define EC2_a PA_15 +#define EC2_b PC_13 +#define EC3_a PC_10 +#define EC3_b PC_12 +//InterruptIn a(PC_2); +//InterruptIn b(PC_3); +//InterruptIn c(PA_15); +//InterruptIn d(PC_13); +//InterruptIn e(PC_10); +//InterruptIn f(PC_12); +#define WHf1 PB_8 +#define WHf2 PB_9 +#define WHr1 PB_6 +#define WHr2 PA_9 +#define WHl1 PA_8 +#define WHl2 PB_10 +//PwmOut g(PB_8); +//PwmOut h(PB_9); +//PwmOut i(PB_6); +//PwmOut j(PA_9); +//PwmOut k(PA_8); +//PwmOut l(PB_10); //自己位置 InterruptIn m(PC_7); InterruptIn n(PC_11);