UvA NetCentric Computing listener

Dependencies:   AndroidAccessory Controls HBridge MotorController mbed

Fork of uva_nc by Jurgen Baas

Revision:
7:d9d30a2d8d9f
Parent:
6:b5072fb695f2
--- a/NetCentricApp.cpp	Sun Jan 10 23:46:34 2016 +0000
+++ b/NetCentricApp.cpp	Sun Jan 10 23:48:29 2016 +0000
@@ -4,8 +4,6 @@
 #include "MotorController.h"
 #include "PcControls.h"
 
-// in the getto
-
 DigitalOut myled1(LED1);
 DigitalOut myled2(LED2);
 DigitalOut myled3(LED3);
@@ -21,6 +19,9 @@
     return bits;
 }
 
+/**
+ * Set the 4 LEDS on the mBed to the first 4 bits of the integer
+ */
 void setLeds (int number) {
     DigitalOut leds [] = {myled1, myled2, myled3, myled4};
     
@@ -30,7 +31,6 @@
         leds[i] = bits[i];
     }
 }
-// end in the getto
 
 // Process commands here.
 MbedResponse *NetCentricApp::getResponse(MbedRequest *request) {