I am trying out a very simple piece of code with a QT Py ordered within the last week. When this code runs the built-in NeoPixel blinks yellow instead of white. I am able to get just red, just green, and just blue, so all the individual LEDs are fine.
I downloaded CircuitPython 6.3.0 from here: https://circuitpython.org/board/qtpy_m0/
and the adafruit-circuitpython-bundle-6.x-mpy-20210827.zip libraries from here: https://github.com/adafruit/Adafruit_Ci ... e/releases
Any ideas?
Thank you !
Code: Select all
import board
import digitalio
import time
import neopixel
from adafruit_led_animation import color
NEOPIXEL_COUNT = 1
pixels = neopixel.NeoPixel(board.NEOPIXEL, NEOPIXEL_COUNT, auto_write=False)
pixels.brightness = 1.0
# clear the pixel entirely
pixels[0] = color.BLACK
pixels.show()
while True:
pixels[0] = color.WHITE
pixels.show()
time.sleep(0.1)
pixels[0] = color.BLACK
pixels.show()
time.sleep(0.5)