return None
def __del__(self):
self._spi.close()
def _debug(self, message):
if 'debug_log_command' in self._config:
#print("LT8900 DEBUG: " + message)
self._config['debug_log_command'](message)
return None
def _reset_device(self):
if self._config is not None:
if self._config['reset_command'] is not None:
return self._config['reset_command']()
return None