The above explains the why, there seems to be a configuration in the IDF to allow floats in ISRs,
but I have no idea how to set that option for the Arduino IDE.
BTW, you are using Serial.println() in the ISR which I would consider a NoGo also.
The above explains the why, there seems to be a configuration in the IDF to allow floats in ISRs,
but I have no idea how to set that option for the Arduino IDE.
BTW, you are using Serial.println() in the ISR which I would consider a NoGo also.