khoih-prog/ESP32TimerInterrupt

RPM_Measure.ino fails (floating point arithmetic within ISR)

tshcherban opened this issue · 1 comments

Hi
i'm getting an error while running your example:
Guru Meditation Error: Core 1 panic'ed (Coprocessor exception)
if change calculation from float to integers - works good.
Also found this thread Floating point in ISR?, which warns about using floats within interrupt handlers on ESP32.

Hi @tshcherban

Thanks for the info.
Even though I haven't got that error Guru Meditation Error: Core 1 panic'ed (Coprocessor exception), I'll put a note and change the float to int in the example for next release.