How to do simple float calculations in a interrupt handler on NodeMCU ESP32

That's really interesting, thanks for letting me know! And yeah you're right, I shouldn't be using serial.println() inside the interrupt functions. I used them briefly to debug but have removed them now. Thanks!