Port FreqCount library to SAMD21 architectures

Status
Not open for further replies.

CarlosR

New member
Dear all,

I used to rely on the FreqCount library to measure the output of a sensor which ranged from 0.1 to 500 kHz full-scale. I need to move from Teensy to Arduino Zero and I would like to port this library onto the SAMD21. Can the code be modified in order to work on the Zero platform? And in this case where should I start?


Any help is much obliged.


Best regards,

Carlos
 
Maybe use Teensy LC? Same ARM CPU as Arduino Zero.

If you really want to dig into the code, start with the header in the "util" folder. See the comments and function names in that file. Also of course carefully study the timers in the chip you want to support.....
 
Status
Not open for further replies.
Back
Top