Flushing input buffer okay but hangs on line 65, while trying out print readSensor result. Something is up while trying to read the serial input a second time.