UvA NetCentric Computing listener

Dependencies:   AndroidAccessory Controls HBridge MotorController mbed

Fork of uva_nc by Jurgen Baas

Revision:
3:0229ad4f2db1
Parent:
0:0f9ceecf1db8
Child:
4:eabd917e3353
--- a/main.cpp	Wed Jan 06 13:33:14 2016 +0000
+++ b/main.cpp	Thu Jan 07 09:08:48 2016 +0000
@@ -1,10 +1,20 @@
 #include "NetCentricApp.h"
 #include "mbed.h"
+#include "HBridge.h"
+#include "PcControls.h"
+
+AnalogIn motorInput(p16);
+DigitalOut outSignal(p18);
+
+HBridge motor(p18,p15,p22);
 
 int main() {
     printf("Started NetCentric App\r\n");
     
-    NetCentricApp app;
+    MotorController motorController(motor, motorInput);
+    MotorControlsPc pcControls(motorController);
+    
+    NetCentricApp app(pcControls);
     
     USBInit();
     while (true) {