Measure frequency accurately on Arduino MICRO

Hello

I’m am trying to accurately measure the frequency of a pulse on an Arduino MICRO.
I have tried the frequmeasure library but I can’t make it work on the MICRO.
https://www.pjrc.com/teensy/td_libs_FreqMeasure.html

Do you see any alternative library that uses TIMER3 to measure frequency?

thanks

Post your code (between code tags), and what frequency are you trying to measure?

Hello;

I’m measuring a frequency of about 100Hz.
Sending a clean square signal on hte sensor pin it’s working fine fine with Arduino Nano, but nor on Arduino MICRO:

#include <FreqMeasure.h>

void setup() {
  Serial.begin(57600);
  FreqMeasure.begin();
}



void loop() {

  float frequency = FreqMeasure.countToFrequency(FreqMeasure.read());
  Serial.println(frequency);
  delay(500);
}

Library can be found here: FreqMeasure Library, for Measuring Frequencies in the 0.1 to 1000 Hz range, or RPM Tachometer Applications

Note that I need to use TIMER3 on arduino MICRO, if you look in the .h it seems to be configured that way, but nothing detected on any pin.

THanks for your help.