Use value created with if statement
Posted: Tue Jan 02, 2018 7:15 pm
Greetings all
Woukd like to use an if statement to read an analog pin at 4 different times, and then post them to my web server.
I am not able to see a way that I can transfer the new value out of my if statement.
Am I missing something?
Thanks for any pointers
Doug
Woukd like to use an if statement to read an analog pin at 4 different times, and then post them to my web server.
I am not able to see a way that I can transfer the new value out of my if statement.
Am I missing something?
Thanks for any pointers
Doug