UART Driver to receive asynchronous Serial Comms from a Raspberry Pi and parse the results.

Revision:
4:85353bd571f2
Parent:
3:b608ee5b9b5d
Child:
5:d497795761a5
Child:
6:74b5ac7719f4
--- a/SerialComms.cpp	Mon Feb 15 20:10:55 2016 +0000
+++ b/SerialComms.cpp	Sat Feb 20 13:26:51 2016 +0000
@@ -32,9 +32,9 @@
     incomingDataUpdate = TRUE;
 }
 
-int *SerialComms::returnMotorSpeeds()
+int *SerialComms::returnCommData()
 {
-    if(SerialComms::incomingDataUpdate == TRUE && dataCheck == 10)
+    if(SerialComms::incomingDataUpdate == TRUE && dataCheck == 15)
     {
         SerialComms::incomingDataUpdate = FALSE;
         return receiverBuffer;