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

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

Revision:
15:e37a8c413e51
Parent:
14:522bb06f0f0d
Child:
16:e65c192b7ecf
--- a/main.cpp	Thu Feb 21 14:27:19 2013 +0000
+++ b/main.cpp	Thu Feb 21 15:21:12 2013 +0000
@@ -1,14 +1,17 @@
 #include "LPC17xx.h"
 #include "mbed.h"
 #include "Motions.h"
+#include "PWM.h"
 
 uint16_t data[0x2000] __attribute__((section("AHBSRAM1"))); //motion data area
 Ticker tick;    //Ticker for main control roop
 
 int main(void)
 {  
+    PWM* pwm = new PWM();
+    delete pwm;
     Motions motions(data);
-    //motions.control();
+    
     while (1) {
         motions.control();
         wait(0.05);