wrote ATZ\r to the serial port