Pulse and frequency counters for SAMD21G-based Arduinos

Experimental.

If you feel like donating for this, you can do so here: http://ocrdu.nl/donations .