![](/media/cache/profiles/e5815151957be36ad2085b7a1a02c5cc.jpg.50x50_q85.jpg)
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
--- /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