(Unsuccessfully) writes the pitch from serial port (from Arduino) to console