Mmiscool wrote:Can you provide a link to the arduino frequency count documentation. Can see about adding this if it is esp8266 compatible.
It would be great if ESP8266 were compatible with arduino FreqCount library !
Here the link to the FreqCount library on Github https://github.com/PaulStoffregen/FreqCount
it measures the input frequency by counting the number of pulses during a fixed time.
It works with Arduino Atmel microcontroller, such as: ATMega32U4 , ATMEGA328 , ATMEGA168 and so on.
The microcontroller timer definition is given in the library util file here
https://github.com/PaulStoffregen/FreqCount/blob/master/util/FreqCountTimers.h
There is also another library for measures the frequency called FreqMeasure, here on github https://github.com/PaulStoffregen/FreqMeasure
it measures the input frequency by measuring the elapsed time during each cycle.
Is there any chance to make ESP8266 compatible with one of these libraries for frequency counter ?
great thanks !