We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9385476 commit 4fa9759Copy full SHA for 4fa9759
examples/ble_adafruit_clue_bluefruit.py
@@ -29,10 +29,8 @@
29
accel_svc.measurement_period = 100
30
accel_last_update = 0
31
32
-# Even though the CLUE only has one NeoPixel, the Bluefruit Playground
33
-# app is sending data for 10 pixels, so expect that many. Only the
34
-# first pixel data will be visible, obviously.
35
-NEOPIXEL_BUF_LENGTH = const(3 * 10)
+# CLUE has just one board pixel. The 3 is for RGB.
+NEOPIXEL_BUF_LENGTH = const(3 * 1)
36
neopixel_svc = AddressablePixelService(NEOPIXEL_BUF_LENGTH)
37
neopixel_buf = bytearray(NEOPIXEL_BUF_LENGTH)
38
# Take over NeoPixel control from clue.
0 commit comments