Controlor for Humanoid. Walking trajectory generator, sensor reflection etc.
Dependencies: Adafruit-PWM-Servo-Driver MPU6050 RS300 mbed
Diff: main.cpp
- Revision:
- 6:fae1b8c01b49
- Parent:
- 4:364582b47aab
diff -r 0ca9f1bc1fb0 -r fae1b8c01b49 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Sep 18 15:49:17 2012 +0000 @@ -0,0 +1,18 @@ +#include "LPC17xx.h" +#include "mbed.h" +#include "pwm.h" + +Ticker flip; +LBC_pwm pwm; + +void main_th(void) { + SetDuty(1,0); +} + +int main(void) { + + InitPWM(); + flip.attach(&main_th,5.0); + + while (1); +} \ No newline at end of file