Update bsp.py

master
zen 3 years ago
parent c506623c10
commit 15a9cd7e1d
  1. 2
      bsp.py

@ -255,7 +255,7 @@ class rgb_led():
self.LED_DMA, self.LED_INVERT, self.LED_BRIGHTNESS)
self.strip.begin()
def color(self, N, R, G, B):
def color_raw(self, N, R, G, B):
if (N < 4 and N > -1):
self.strip.setPixelColor(N, Color(R, G, B))
self.strip.show()

Loading…
Cancel
Save