Honmaka Astro MicroControler sample Heater Contoler Sample Ver 1
Fork of PulseMotor3 by
Diff: main.cpp
- Revision:
- 0:27fe3b05f1fc
- Child:
- 1:c533a17dccc0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Jan 04 07:55:14 2015 +0000 @@ -0,0 +1,10 @@ +#include "mbed.h" + +PwmOut PulseMotor(p21); + +int main() { + PulseMotor.period_us(83140); + PulseMotor.pulsewidth_us(83140/2); + while(1) { + } +}