Closed
Description
The new lightsleep feature might be causing issues with delays of a variety of types. Today was helping to debug a user's issue when he presented the following.
USER at 3:59 AM
I've noticed that using play_tone() with the Circuit Playground Express (see example below), CircuitPython 6.0.0_rc.0 adds a significant pause after each note compared to 5.3.1. Has anyone else experienced this?
from adafruit_circuitplayground.express import cpx
scale = [587, 659, 740, 880, 987, 1174]
while True:
for note in scale:
cpx.play_tone(note, 0.25)
It is possible time.sleep()
which shuts down some things might be taking longer to come back and causing an issue with user experience.