謙一 永井
/
SRC2018Auto
0910
Diff: kyuuban.h
- Revision:
- 1:5f5d47a593bc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kyuuban.h Tue Sep 10 09:30:41 2019 +0000 @@ -0,0 +1,15 @@ +#ifndef KYUUBAN_H_ +#define KYUUBAN_H_ + +#include "mbed.h" +//#include "PinName.h" +DigitalOut kyuubanMOVE(D9); +PwmOut kyuuban_pwm(PB_0); +DigitalOut kyuuban_up(PC_3); +DigitalOut kyuuban_down(PC_1); +DigitalOut kyuuban_dis(PC_0); +DigitalIn kyuuban_lim(PC_13); +#define kyuubanUPlimit 50 +#define kyuubanDOWN 20 + +#endif \ No newline at end of file