eda_serialcoms.py
def sendCommand(self,command):
        """Input type is a BYTE
           Returns 1 if BTYE is returned from UART
        """
        self.con.flush()
        self.con.readlines()

        self.con.write(command)
        time.sleep(0.1)
        self.con.flush()
        try:
            rx = self.con.read(1)
            if (rx == command):
                return 1
        except:
            return 0
Input type is a BYTE
           Returns 1 if BTYE is returned from UART
        
Input type is a BYTE
Returns 1 if BTYE is returned from UART
Input type is a BYTE Returns 1 if BTYE is returned from UART
def sendCommand(self,command):
        self.con.flush()
        self.con.readlines()
        self.con.write(command)
        time.sleep(0.1)
        self.con.flush()
        try:
            rx = self.con.read(1)
            if (rx == command):
                return 1
        except:
            return 0
def sendCommand ( self , command ) : self . con . flush ( ) self . con . readlines ( ) self . con . write ( command ) time . sleep ( 0.1 ) self . con . flush ( ) try : rx = self . con . read ( 1 ) if ( rx == command ) : return 1 except : return 0
Input type is a BYTE
Returns 1 if BTYE is returned from UART
Input type is a BYTE Returns 1 if BTYE is returned from UART
"""Input type is a BYTE
           Returns 1 if BTYE is returned from UART
        """
self
command