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
- Committer:
- baba2357
- Date:
- 2016-04-05
- Revision:
- 14:3403ce49a37a
- Parent:
- 9:92ddadd9e9a9
File content as of revision 14:3403ce49a37a:
#ifndef PIN_FILE_H #define PIN_FILE_H //速度制御 #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 aa(PC_2); //InterruptIn bb(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);b //自己位置 /*InterruptIn m(PC_7); InterruptIn nn(PC_11); InterruptIn o(PC_1); InterruptIn p(PC_0); //上下機構&アーム InterruptIn a(PC_8); InterruptIn b(PC_6); PwmOut bole_f(PB_4); PwmOut bole_b(PB_5); DigitalOut valve1(PB_7); //SPI mbed SPISlave from_mbed(PA_7, PA_6, PA_5, PA_4); //SPI NUCLEO SPISlave from_gyro(PB_15, PB_14, PB_13, PB_12); //赤外線・超音波 AnalogIn IR_r(PA_1); AnalogIn IR_l(PB_1); DigitalInOut uw(PC_4); //自動切り替え DigitalIn push(PA_12); */ #endif