#Adafruit Trinkey Proximity issues with version 7.2.1 and beyond not running code for more than a sec

1 messages · Page 1 of 1 (latest)

timid fiber
#

I am having trouible with the latest version of the UF2 file for the Trinkey Proximity. Versions 7.2.0 appears to work, but version beyond 7.2.0 seem to only run the code.py for a molment and then report green flashing light every 5 seconds indicating that the code completed. But my code is an infinite loop with a "while True: "

Any help in understanding this would be helpful.

still rune
timid fiber
#

The code is the blink example code:

#

SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries

SPDX-License-Identifier: MIT

"""
Blink example for boards with ONLY a NeoPixel LED (e.g. without a built-in red LED).
Includes QT Py and various Trinkeys.

Requires two libraries from the Adafruit CircuitPython Library Bundle.
Download the bundle from circuitpython.org/libraries and copy the
following files to your CIRCUITPY/lib folder:

  • neopixel.mpy
  • adafruit_pixelbuf.mpy

Once the libraries are copied, save this file as code.py to your CIRCUITPY
drive to run it.
"""
import time
import board
import neopixel

pixels = neopixel.NeoPixel(board.NEOPIXEL, 1)

while True:
pixels.fill((255, 0, 0))
time.sleep(0.5)
pixels.fill((0, 0, 0))
time.sleep(0.5)