Python LT8900 via SPI

Diff
Login

Diff

Differences From Artifact [d3ab104dc8]:

To Artifact [0b8ba9ffef]:


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):

		#print("LT8900 DEBUG: " + 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







>
|







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

		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']()
		return None