Esempio n. 1
0
	def getBrightness(self):
		return ws.ws2811_channel_t_brightness_get(self._channel)
Esempio n. 2
0
 def getBrightness(self):
     return ws.ws2811_channel_t_brightness_get(self._channel)
Esempio n. 3
0
 def get_brightness(self):
     with _ws821x_lock:
         return ws.ws2811_channel_t_brightness_get(self._channel)
Esempio n. 4
0
	def getBrightness(self):
		"""Get the brightness value for each LED in the buffer. A brightness
		of 0 is the darkest and 255 is the brightest.
		"""
		return ws.ws2811_channel_t_brightness_get(self._channel)
Esempio n. 5
0
	def getBrightness(self):
		"""Get the brightness value for each LED in the buffer. A brightness
		of 0 is the darkest and 255 is the brightest.
		"""
		return ws.ws2811_channel_t_brightness_get(self._channel)