RPM_Measure.ino fails (floating point arithmetic within ISR)
tshcherban opened this issue · 1 comments
tshcherban commented
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.
khoih-prog commented
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.