def __write(self, output, binary=False):
if not binary:<EOL><INDENT>log.debug('<STR_LIT>', output)<EOL><DEDENT>else:<EOL><INDENT>log.debug('<STR_LIT>', hexify(output))<EOL><DEDENT>self._port.write(output)<EOL>self._port.flush()<EOL>
write data on the nodemcu port. If 'binary' is True the debug log
        will show the intended output as hex, otherwise as string