davydnorris wrote:This may be an Arduino limitation but I'm not an Arduino expert and I don't know how they wrap interrupts.
You could also try running the ESP at 160MHz instead - it has two clock speeds.
Other than that you may need to use a dedicated counter circuit
Indeed, that's why there is an arduino subsection on the board.