新部内対抗A班 / Mbed 2 deprecated circle_war_ver_A_NUCLEO__

Dependencies:   mbed

Fork of circle_war_ver_A_NUCLEO_ by 新部内対抗A班

Committer:
username16248
Date:
Fri Apr 01 05:58:11 2016 +0000
Revision:
6:bb86e2999be0
Parent:
5:df89be97e11a
Child:
8:554e3d643b2d
changed DigitalOut u

Who changed what in which revision?

UserRevisionLine numberNew 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);
username16248 6:bb86e2999be0 25 PwmOut s(PB_4);
username16248 6:bb86e2999be0 26 PwmOut t(PB_5);
username16248 6:bb86e2999be0 27 DigitalOut u(PB_7);
baba2357 0:fad5ae05b576 28 //SPI mbed
username16248 6:bb86e2999be0 29 SPISlave from_mbed(PA_5, PA_6, PA_7, PA_4);
baba2357 0:fad5ae05b576 30 //SPI NUCLEO
username16248 6:bb86e2999be0 31 SPISlave from_gyro(PB_13, PB_14, PB_15, PB_12);
baba2357 0:fad5ae05b576 32 //赤外線・超音波
username16248 6:bb86e2999be0 33 AnalogIn v(PA_1);
username16248 6:bb86e2999be0 34 AnalogIn w(PB_1);
username16248 6:bb86e2999be0 35 DigitalInOut x(PC_5);
baba2357 1:86d25c1c4bd5 36 //自動切り替え
username16248 6:bb86e2999be0 37 DigitalIn y(PA_12);
username16248 6:bb86e2999be0 38 #endif