謙一 永井
/
SRC2018Auto
0910
kyuuban.h@1:5f5d47a593bc, 2019-09-10 (annotated)
- Committer:
- kenboh
- Date:
- Tue Sep 10 09:30:41 2019 +0000
- Revision:
- 1:5f5d47a593bc
SRC2018Auto
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kenboh | 1:5f5d47a593bc | 1 | #ifndef KYUUBAN_H_ |
kenboh | 1:5f5d47a593bc | 2 | #define KYUUBAN_H_ |
kenboh | 1:5f5d47a593bc | 3 | |
kenboh | 1:5f5d47a593bc | 4 | #include "mbed.h" |
kenboh | 1:5f5d47a593bc | 5 | //#include "PinName.h" |
kenboh | 1:5f5d47a593bc | 6 | DigitalOut kyuubanMOVE(D9); |
kenboh | 1:5f5d47a593bc | 7 | PwmOut kyuuban_pwm(PB_0); |
kenboh | 1:5f5d47a593bc | 8 | DigitalOut kyuuban_up(PC_3); |
kenboh | 1:5f5d47a593bc | 9 | DigitalOut kyuuban_down(PC_1); |
kenboh | 1:5f5d47a593bc | 10 | DigitalOut kyuuban_dis(PC_0); |
kenboh | 1:5f5d47a593bc | 11 | DigitalIn kyuuban_lim(PC_13); |
kenboh | 1:5f5d47a593bc | 12 | #define kyuubanUPlimit 50 |
kenboh | 1:5f5d47a593bc | 13 | #define kyuubanDOWN 20 |
kenboh | 1:5f5d47a593bc | 14 | |
kenboh | 1:5f5d47a593bc | 15 | #endif |