Skip to content

Metro M4 blinkie is way to fast. #450

@mrmcwethy

Description

@mrmcwethy

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions