khoih-prog / SAMD_TimerInterrupt

This library enables you to use Interrupt from Hardware Timers on an SAMD-based board. These SAMD Hardware Timers, using Interrupt, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software timers using millis() or micros(). That's mandatory if you need to measure some data requiring better accuracy. It now supports 16 ISR-based Timers, while consuming only 1 Hardware Timer. Timers' interval is very long (ulong millisecs). The most important feature is they're ISR-based Timers. Therefore, their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. SAMD21 now can use 6 Timers
MIT License
34 stars 15 forks source link

Add more SAMD21 #10

Closed homeodor closed 2 years ago

homeodor commented 2 years ago

Hi!

I actually use SAMD21G17 and SAMD21J18 in a project of mine, so I’ve added those in. Might be useful to someone and does no harm!

khoih-prog commented 2 years ago

Hi @homeodor

Thanks for your PR. To be complete and avoid future issue, could you please also add to your PR these

then I'll merge. Waiting for your updated PR.

Thanks and Regards,

khoih-prog commented 2 years ago

Hi @homeodor

The new SAMD_TimerInterrupt releases v1.6.0 has just been published.

Your contribution is noted in Contributions and Thanks even the PR was not merged, but thanks to your idea, many more boards, such as SAMD21E1xA, SAMD21G1xA andSAMD21J1xA, have been supported now.

Best Regards,


Releases v1.6.0

  1. Fix multiple-definitions linker error. Drop src_cpp and src_h directories
  2. Add example multiFileProject to demo for multiple-file project.
  3. Add support to many more boards, such as SAMD21E1xA, SAMD21G1xA andSAMD21J1xA
  4. Optimize library code by using reference-passing instead of value-passing
  5. Update all examples
  6. Update Packages_Patches