I built a 3.x version of circuitpython and found that on my metro M4 the time.sleep() funciton returns way to fast. About 9 times too fast! The following code turns the LED on for 1 second and turn it off for 1 second. I tried the same thing on a metro M0 and the LED stays on for 9 seconds, then off for 9 seconds. So Metro M4 is returning way too fast and Metro M0 is working as expected.
while True:
led.value = 1
time.sleep(9.0)
led.value = 0
time.sleep(9.0)
I built a 3.x version of circuitpython and found that on my metro M4 the time.sleep() funciton returns way to fast. About 9 times too fast! The following code turns the LED on for 1 second and turn it off for 1 second. I tried the same thing on a metro M0 and the LED stays on for 9 seconds, then off for 9 seconds. So Metro M4 is returning way too fast and Metro M0 is working as expected.