UvA NetCentric Computing listener

Dependencies:   AndroidAccessory Controls HBridge MotorController mbed

Fork of uva_nc by Jurgen Baas

Revision:
4:eabd917e3353
Parent:
3:0229ad4f2db1
--- a/main.cpp	Thu Jan 07 09:08:48 2016 +0000
+++ b/main.cpp	Thu Jan 07 16:20:07 2016 +0000
@@ -8,6 +8,7 @@
 
 HBridge motor(p18,p15,p22);
 
+
 int main() {
     printf("Started NetCentric App\r\n");
     
@@ -18,6 +19,8 @@
     
     USBInit();
     while (true) {
+        pcControls.ProcessPcInput((char) motorController.getCurrentAction());
         USBLoop();
+        wait(0.001);
     }
 }
\ No newline at end of file