Finally fixed arduinoCom.cpp. Was accidentally sending two endlines, causing a bug