Setting the threshold value with the button.
Posted: Sat Nov 25, 2023 7:47 am
Hello, I want to record the instantaneous value received from a connected sensor as a threshold value 10 seconds after my esp32 card is powered on and then compare it with the values from the same sensor. This threshold value should be deleted after the power is cut off, and the threshold value should be recorded again after 10 seconds when the power is applied. How can I create a threshold value this way? can you help me. Thank you.