utilities/get_orp.py
def send_cmd(cmd):
        """
        Send command to the Atlas Sensor.
        Before sending, add Carriage Return at the end of the command.
        :param cmd:
        :return:
        """
        buf = cmd + "\r"        # add carriage return
        try:
                ser.write(buf)
                return True
        except SerialException as e:
                print "Error, ", e
                return None

        Send command to the Atlas Sensor.
        Before sending, add Carriage Return at the end of the command.
        :param cmd:
        :return:
        
Send command to the Atlas Sensor.
Before sending, add Carriage Return at the end of the command.
Send command to the Atlas Sensor . Before sending add Carriage Return at the end of the command .
def send_cmd(cmd):
        buf = cmd + "\r"        
        try:
                ser.write(buf)
                return True
        except SerialException as e:
                print "Error, ", e
                return None
def send_cmd ( cmd ) : buf = cmd + "\r" try : ser . write ( buf ) return True except SerialException as e : print "Error, " , e return None
Send command to the Atlas Sensor.
Send command to the Atlas Sensor .
"""
        Send command to the Atlas Sensor.
        Before sending, add Carriage Return at the end of the command.
        :param cmd:
        :return:
        """ # add carriage return
None
cmd
None