updated readArduinoTwoWay