Setting the threshold value with the button.

Ahmet58
Posts: 21
Joined: Sat Jan 22, 2022 8:38 pm

Setting the threshold value with the button.

Postby Ahmet58 » 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.

ESP_Sprite
Posts: 9577
Joined: Thu Nov 26, 2015 4:08 am

Re: Setting the threshold value with the button.

Postby ESP_Sprite » Sun Nov 26, 2023 12:36 am

Sounds to me the most obvious way would work? What did you already try yourself?

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 160 guests