taiyou komazawa
/
Nucleo_fliping_arm
2018 HongoMechaTech A
Diff: lib/Pin.h
- Revision:
- 0:e83b840a5f86
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib/Pin.h Tue Sep 18 03:11:01 2018 +0000 @@ -0,0 +1,20 @@ +#ifndef PIN_H_ +#define PIN_H_ + +#include "mbed.h" + +namespace pin{ + const PinName sda = D2; + const PinName scl = D8; + const PinName ft_ts = D6; + const PinName led1 = /*PB_15*/D13; + const PinName led2 = PB_14; + const PinName led3 = PB_13; + const PinName esv = PB_7; + const PinName pwm = D7; + const PinName dir = D3; + const PinName a_lyr = D4; + const PinName b_lyr = D5; +} + +#endif