Read and write to serial port with Arduino Nano