Hello Ric,
Thanks for your reply. I’m trying to build a phone app that will take a low and high temperature setting and send it to the particle board to be compared with a temperature reading from a temp probe connected to the Photon. It mimics a thermostat, which could be achieved with one temperature setting, but it was already set up that way from another team member.
I have attempted to duplicate the blocks you suggested with the correct information for my application. I don’t understand how this whole operation works with the function on the particle end. Am I supposed to put place holders in the function heading for them or am I supposed to declare a variable either globally or in the function and the procedure call automatically modifies the value within the function. Also, I have another variable for water temperature from the temp probe that is being passed in from the main function where the function is being called. Is this going to work?
Below are screen shots of the blocks and the particle function. Originally, I had the variable names identified in the app inventor blocks and used the same name in the function. I’m not sure what I should do at this point.