Python LT8900 via SPI

Diff
Login

Diff

Differences From Artifact [0b8ba9ffef]:

To Artifact [df06239930]:


229
230
231
232
233
234
235
236
237
238
239
240
241
242
243

		return None

	def __del__(self):
		self._spi.close()

	def _debug(self, message):
		if 'debug_log_command' in self._config:
			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']()







|







229
230
231
232
233
234
235
236
237
238
239
240
241
242
243

		return None

	def __del__(self):
		self._spi.close()

	def _debug(self, message):
		if self._config is not None and 'debug_log_command' in self._config:
			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']()