Hi, I’m new to the forum. I have a problem with my project:
I created a project for the heating thermostat by putting in the app the reading of a HIH6130 sensor, a led for the status of the boiler and a “numeric input” widget to set the desired temperature. Everything works perfectly, only at startup I don’t know how to read from the app the value that the “numeric input” widget displays in order to compare it with the temperature. I only read it after having pressed the ‘+’ or ‘-’ keys at least once.
Is there a function that at startup reads the widget value to save it in a variable?
Thanks in advance
Search for BLYNK_CONNECTED() and Blynk.syncVirtual(vPin)
Pete.
Thanks Pete, I’ve been looking, but I don’t understand how it works. Can you give me an example?
This might help you
Thanks a lot to everyone! I solved!
1 Like