Thx guys for the input. I didn't know any of it.
I was afraid that my loop would be taking to long to use the normal method of reading in a button because i am trying to use my ESP32 as a webserver while reading in temperatures. And last time I checkt the loop already took 160ms even without delay(). But I guess I will try to pull it off worst case would be that i would have to press the button longer
Thx again ![]()