tested and merged arduinooutput