Gets messages form the pc and translates it to I2C and back.

Dependencies:   DevInterfaces I2Cinterfaces MCP4725 mbed

Revision:
1:8ba039abd9b8
Parent:
0:b40341017545
Child:
2:2330ad8b1baa
--- a/Translator.cpp	Wed May 18 11:22:41 2016 +0000
+++ b/Translator.cpp	Wed May 18 11:35:45 2016 +0000
@@ -95,12 +95,10 @@
 bool Translator::Translate(const int8_t* const cmd, int cmdSize, MessageInfo* const info) {
     // Check starting character
     if (cmd[Rules::StartCharIndex] != Rules::StartChar) {
-        printf("No start char");
         return false;
     }
     // Check length of command
     if (cmd[Rules::CharsToReadIndex] + Rules::CharsToReadOffset != cmdSize) {
-        printf("Incorrect size");
         return false;
     }