Shao Rui
/
AGV
1
brake/brake.cpp
- Committer:
- shaorui
- Date:
- 2021-01-25
- Revision:
- 0:571a1835428e
File content as of revision 0:571a1835428e:
#include "mbed.h" #include "struct.h" #include "brake.h" void Init_Brake(GPIOStruct *gpio) { gpio->brake=new DigitalOut(BRAKE); gpio->indicate=new DigitalIn(INDICATE); }