Frank Girald
/
step_basic_mbed
stepper motor
Fork of step_basic by
main.cpp
- Committer:
- franni
- Date:
- 2017-10-28
- Revision:
- 0:02946e0382f5
File content as of revision 0:02946e0382f5:
#include "mbed.h" BusOut step_secuence(PTA12, PTD4, PTA1, PTA2); int main() { while(1) { step_secuence=0x0A; wait(0.5); step_secuence=0x09; wait(0.5); step_secuence=0x05; wait(0.5); step_secuence=0x06; wait(0.5); } }