-
Notifications
You must be signed in to change notification settings - Fork 4
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
Accurate delayMicroseconds for 14.7456 MHz, 11.0592 MHz, 7.3728 MHz, 3.6864 MHz and 1.8432 MHz #18
Comments
I'm always happy when I can help. Just give me some days and I can provide solutions for them. I will probably start with the smallest ones first. :) 👍 |
Cool, thank you! I think it's smart to start with the lower frequencies first, yes. These "weird" frequencies all add up to each other: 3.6864 MHz = 1.8432 MHz * 2 |
I should probably tell you that tomorrow I'm heading to China for a week (business trip). This basically means I'm not able to respond to your messages while I'm there. However, my wife at work this evening, so I got plenty of time tonight 😄 |
Any news @Jackjan4? 🙂 |
Hi, i'm very sorry for this super late response, but University really kicked in I was unable to really do some other stuff beside from that. However, i'm back at it again and hope that my help is still needed. :) |
No worries! I'm just happy you're willing to contribute. It is voluntary work after all 🙂. It would be great if you prepared some code for the different clock frequencies. Then I can test them all and provide you the results. Just bear in mind that the "automatic code inspection" (Travis CI) doesn't accept tabs and trailing white spaces after a code line. |
See commit e11435e |
I've just pushed a commit where I've added accurate micros for these clock frequencies. However, I'm not that good with cycle accurate timing that I feel qualified for this job.
I'm sorry to bother you again @Jackjan4, but you did such a wonderful job with the other clock frequencies a few months 🥇 I fully understand if you don't have time or simply don't want to spend time on this, but if you want to contribute I'll promise to do all the testing with my signal generator as clock source.
If this turns out to be a success I'm sure ATTinyCore could benefit from this code as well, since it's missing accurate delayMicroseconds for these frequencies too.
Thanks!
The text was updated successfully, but these errors were encountered: