せとうちオープン用のメインプログラム
Dependencies: mbed AQM1602 HMC6352 PID
Diff: setting/PinConfig.h
- Revision:
- 0:b910276f9da2
diff -r 000000000000 -r b910276f9da2 setting/PinConfig.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/setting/PinConfig.h Sun May 01 06:30:37 2016 +0000 @@ -0,0 +1,65 @@ +#ifndef _PIN_CONFIG_H_ +#define _PIN_CONFIG_H_ + +//pc(Computer) +static PinName const monitor_tx = SERIAL_TX; +static PinName const monitor_rx = SERIAL_RX; +//led(main) +static PinName const led1 = PC_12; +static PinName const led2 = PC_10; +static PinName const led3 = PC_11; +static PinName const led4 = PD_2; +//write(main) +static PinName const stlinkTMS = PA_13; +static PinName const stlinkTCK = PA_14; +static PinName const stlinkRX = D1; +static PinName const stlinkNRST = NC; +static PinName const stlink3V3 = NC; +//line(bottom) +static PinName const lineA1 = PB_7; +static PinName const lineB1 = PC_13; +static PinName const lineC1 = PC_3; +static PinName const lineA2 = A0; +static PinName const lineB2 = A1; +static PinName const lineC2 = A2; +static PinName const lineInA = A3; +static PinName const lineInB = A4; +static PinName const lineInC = A5; +//ballcheck(bottom) +static PinName const ballcheck = PC_2; +//debug_switch(debug_board) +static PinName const selectsw1 = PC_8; +static PinName const selectsw2 = PC_9; +static PinName const debugsw1 = D15; +static PinName const debugsw2 = D14; +//motor(main) +static PinName const motor_rx = PA_12; +static PinName const motor_tx = PA_11; +//spi(main) +static PinName const SPI_slck = D13; +static PinName const SPI_miso = D12; +static PinName const SPI_mosi = D11; +static PinName const SPI_ss_sd = PB_12; +static PinName const SPI_ss_sonic = D10; +static PinName const SPI_ss_color = D9; +static PinName const SPI_ss_ir = PB_1; +//bluetooth(debug_board) +static PinName const blue_txd = D2; +static PinName const blue_rxd = D8; +static PinName const blue_reset = PB_2; +//lcd(debug_board) +static PinName const lcd_sda = D5; +static PinName const lcd_scl = D7; +//gyro(debug_board) +static PinName const sens_sda = D3; +static PinName const sens_scl = D6; +static PinName const sens_interrupt = D0; +//mouse(bottom) +static PinName const mouse_mosi = PB_15; +static PinName const mouse_miso = PB_14; +static PinName const mouse_slck = PB_13; +static PinName const mouse_ss = D4; +//solenoid(bottom) +static PinName const solenoid = PC_4; + +#endif /*_PIN_CONFIG_H_*/ \ No newline at end of file