The code seems to work fine and for every 50 (+1) pulse it prints the time it took to gather those 50 pulses right? Is there any way to add a decimal or two to the frequencies (float?)
count 51
micros 934564
freq 54
count 51
micros 3450896
freq 14
count 51
micros 8804244
freq 5
count 51
micros 2095280
freq 24
count 51
micros 796124
freq 64
count 51
micros 2395064
freq 21
count 51
micros 975288
freq 52
count 51
micros 13221620
freq 3
count 51
micros 956156
freq 53