Recommended donation: $5 for home use; $50~$100+ for business use under the included copy-left, open-source GNU GPLV3 or later license (contact me for other license options).
Enter a donation amount, or $0, above. Donations are greatly appreciated.
License: open-source, copy-left GNU GPLV3 or later license. Commercial (closed-source, proprietary) licenses sold at request. Contact me if desired.
Q: Can you sell free software? A: Read here.
Have you ever noticed that when you call the Arduino micros() function, it only returns values in multiples of 4 microseconds? Have you ever wished you could get higher-resolution time-stamps, to decrease error and jitter when reading pulse widths or frequencies? If so, this library is for you! It will give you a substitute for the micros() function with up to 8x better resolution.
"Dude, your lib is really very useful and precise." ~André Frazatto
"Thanks for posting this code, it saved me from a couple more hours of debugging" ~Adam Krasuski
Your donations brighten my day, help support my family, and keep me doing and sharing my projects! :)
This Arduino library allows you to call a method like timer2.get_micros() in place of just micros(), in order to get a time stamp with a resolution of 0.5us instead of 4us. This is very useful when you need to determine periods and frequencies very precisely. Check out the examples. You may find the "read_PWM_pulses_on_ANY_pin_via_pin_change_interrupt" example especially useful, as it will measure the period of a PWM pulse, fast or slow, on *any* pin, and print the result to the serial monitor. This can be used to read an RC PWM pulse as well.
If you're not completely satisfied, I have a 30 day money-back guarantee.
You'll need an account to access this in our app. Please create a password to continue.
Download from the App Store or text yourself a link to the app
Thanks for downloading! Click the share buttons below to let your friends know about it.
License: GPLV3 or later
Github repository link: https://github.com/ElectricRCAircraftGuy/eRCaGuy_Timer2_Counter
Main sales page: https://gumroad.com/gabrielstaples
Good news! Since you already have a Gumroad account, it's also been added to your library.Tweet Share