def hw(self, hw):
        """ Hardware operations """
        if hw.upper() == "INIT":
            self._raw(HW_INIT)
        elif hw.upper() == "SELECT":
            self._raw(HW_SELECT)
        elif hw.upper() == "RESET":
            self._raw(HW_RESET)
        else: # DEFAULT: DOES NOTHING
            pass
def hw ( self , hw ) : if hw . upper ( ) == "INIT" : self . _raw ( HW_INIT ) elif hw . upper ( ) == "SELECT" : self . _raw ( HW_SELECT ) elif hw . upper ( ) == "RESET" : self . _raw ( HW_RESET ) else : pass
Hardware operations