Controlor for Humanoid. Walking trajectory generator, sensor reflection etc.
Dependencies: Adafruit-PWM-Servo-Driver MPU6050 RS300 mbed
Diff: main.cpp
- Revision:
- 4:364582b47aab
- Child:
- 6:fae1b8c01b49
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sat Sep 15 06:36:13 2012 +0000 @@ -0,0 +1,16 @@ +#include "pwm.h" + +int main(void) { + + for(int i = 0; i < SRV_CH_NUM; i++) + { + SetDuty(i, (SRV_MAX_DUTY + SRV_MIN_DUTY) / 2); + } + + Init_PWM(); + + while (1); +} + + +