Controlor for Humanoid. Walking trajectory generator, sensor reflection etc.

Dependencies:   Adafruit-PWM-Servo-Driver MPU6050 RS300 mbed

main.cpp

Committer:
syundo0730
Date:
2012-09-15
Revision:
4:364582b47aab
Child:
6:fae1b8c01b49

File content as of revision 4:364582b47aab:

#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);
}