rvtk wrote:gerardwr wrote:I read somewhere here to use an SDK call for getting a CPU timer, but fail to find it again. Anyone remember this post?
I found the following on https://github.com/esp8266/Arduino/blob ... ference.md:Code: Select allESP.getCycleCount() returns the cpu instruction cycle count since start as an unsigned 32-bit. This is useful for accurate timing of very short actions like bit banging.
Does that help?
Yep that's it, thanks! I forgot where I saw it.
Will try the coming week to replace the current pulse-timing using micros() with getCycleCount and test if this makes my code more reliable in receiving 433Mhz pulse trains.