added print statements following the arduinoPort.write commands for debugging