printing on the serial port if object block robot