Python LimitlessLED via RF

Check-in [9f5cb22ded]
Login
Overview
Comment:Made logging configurable
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9f5cb22dedf47bca0f954349c8a7cd1556d1b5bb11b7a2bb6476bb75d5ff6ffe
User & Date: rkeene on 2020-04-29 00:48:03
Other Links: manifest | tags
Context
2020-04-29
00:48
lmitlessled_rf v0.3 check-in: 525b55c38a user: rkeene tags: 0.3, trunk
00:48
Made logging configurable check-in: 9f5cb22ded user: rkeene tags: trunk
00:40
lmitlessled_rf v0.2 check-in: be353338e5 user: rkeene tags: 0.2, trunk
Changes

Modified limitlessled_rf/__init__.py from [e5093660f8] to [32a495a357].

137
138
139
140
141
142
143

144
145
146
147
148
149
150
151

		output = output + output_range_low

		output = int(output + 0.5)
		return output

	def _debug(self, message):

		print("MILITE DEBUG: " + message)
		return None

	def _get_type_parameters(self, remote_type):
		config = self._remote_type_parameters_map[remote_type]

		# Supply default config values
		if 'retries' not in config:







>
|







137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152

		output = output + output_range_low

		output = int(output + 0.5)
		return output

	def _debug(self, message):
		if 'debug_log_command' in self._config:
			self._config['debug_log_command'](message)
		return None

	def _get_type_parameters(self, remote_type):
		config = self._remote_type_parameters_map[remote_type]

		# Supply default config values
		if 'retries' not in config: