taiyou komazawa
/
Nucleo_fliping_arm
2018 HongoMechaTech A
lib/Pin.h@0:e83b840a5f86, 2018-09-18 (annotated)
- Committer:
- Komazawa_sun
- Date:
- Tue Sep 18 03:11:01 2018 +0000
- Revision:
- 0:e83b840a5f86
????????????????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Komazawa_sun | 0:e83b840a5f86 | 1 | #ifndef PIN_H_ |
Komazawa_sun | 0:e83b840a5f86 | 2 | #define PIN_H_ |
Komazawa_sun | 0:e83b840a5f86 | 3 | |
Komazawa_sun | 0:e83b840a5f86 | 4 | #include "mbed.h" |
Komazawa_sun | 0:e83b840a5f86 | 5 | |
Komazawa_sun | 0:e83b840a5f86 | 6 | namespace pin{ |
Komazawa_sun | 0:e83b840a5f86 | 7 | const PinName sda = D2; |
Komazawa_sun | 0:e83b840a5f86 | 8 | const PinName scl = D8; |
Komazawa_sun | 0:e83b840a5f86 | 9 | const PinName ft_ts = D6; |
Komazawa_sun | 0:e83b840a5f86 | 10 | const PinName led1 = /*PB_15*/D13; |
Komazawa_sun | 0:e83b840a5f86 | 11 | const PinName led2 = PB_14; |
Komazawa_sun | 0:e83b840a5f86 | 12 | const PinName led3 = PB_13; |
Komazawa_sun | 0:e83b840a5f86 | 13 | const PinName esv = PB_7; |
Komazawa_sun | 0:e83b840a5f86 | 14 | const PinName pwm = D7; |
Komazawa_sun | 0:e83b840a5f86 | 15 | const PinName dir = D3; |
Komazawa_sun | 0:e83b840a5f86 | 16 | const PinName a_lyr = D4; |
Komazawa_sun | 0:e83b840a5f86 | 17 | const PinName b_lyr = D5; |
Komazawa_sun | 0:e83b840a5f86 | 18 | } |
Komazawa_sun | 0:e83b840a5f86 | 19 | |
Komazawa_sun | 0:e83b840a5f86 | 20 | #endif |