Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use ms and seconds instead of ns. #19

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

FoamyGuy
Copy link
Contributor

@ladyada

Resolves: #12

ducky times use ms for units so we don't need nanoseconds. Using monotonic() instead of monotonic_ns() makes this library work on devices without longint. I tested successfully on a itsy bitsy m0 with a custom build that disables longint. I also thested the current version and this branch version on a feather S2 which does have longint and confirmed that the timing of DELAY 3000 in duckyscript behaves the same.

@FoamyGuy FoamyGuy merged commit 3909d8f into adafruit:main Nov 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No long integer support for adafruit_ducky
2 participants