コード例 #1
0
ファイル: neopixel.py プロジェクト: itf/rpi_ws281x
 def set_values(self,values):
         return ws.ws2811_leds_set(self.channel, values)
コード例 #2
0
ファイル: neopixel.py プロジェクト: itf/rpi_ws281x
	def setPixelColors(self, colors):
		"""Set all LED colors to the provided 24-bit color value (in RGB order).
		"""
		return ws.ws2811_leds_set(self._channel, colors) #self._led_data.set_values(colors)