PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : stop function in FreqCounter.h library



iciwi
14.08.2016, 12:10
Hey there,
in my new project I use the FreqCounter library. Now I have the problem that there is no function to stopt measuring the frequency. Does somebody know how to do that? Or is there a possibility to add some code in den library itself?

Best regards

Maurice W.

Sisor
14.08.2016, 18:07
The easiest way might be to call init() which resets timers and stuff to normal Arduino start configuration. If you use Serial, you need to call begin() again.