-
Notifications
You must be signed in to change notification settings - Fork 25
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
misleading comment wrt GCLK use. #17
Comments
kk - pleaes submit a PR, since its a comment we will be able to merge it easily! |
OK; done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is cosmetic...
The code that sets the GCLK for the timer has a comment that is incorrect (copied from analogWrite() code?)
It says "use clock generator 0" when it's quite clearly setting GCLK1...
https://github.com/adafruit/Adafruit_ZeroTimer/blob/master/Adafruit_ZeroTimer.cpp#L140
On SAMD51, GCLK0 is 120MHz, and GCLK1 is 48MHz, so using CLK1 makes the SAMD51 and SAMD21 "compatible."
The text was updated successfully, but these errors were encountered: