Python LT8900 via SPI

Check-in [c40c4d5a6c]
Login

Check-in [c40c4d5a6c]

Overview
Comment:Made logging configurable
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c40c4d5a6c7bd77bf6e95259e0c0ce2767cc02ddd2218d7029a0cb15a5e7e72a
User & Date: rkeene on 2020-04-29 00:50:42
Other Links: manifest | tags
Context
2020-04-29
00:51
Improved chance of logging command working check-in: 26c1481a7c user: rkeene tags: trunk
00:50
Made logging configurable check-in: c40c4d5a6c user: rkeene tags: trunk
00:38
lt8900_spi v2.0 check-in: 5fd146a915 user: rkeene tags: 2.0, trunk
Changes

Modified lt8900_spi/__init__.py from [d3ab104dc8] to [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