I would like to ask how to send data from local web server, hosted on PC to particle photon.
My set up is like this.
Both PC and photon are under same wifi network.
I have done entering the number into the html text box… and making it attached to URL…
The problem is that I don’t know how to send that number back to particle photo from local web server web page… I have no idea how to link.
I have searched most topics regarding to POST,GET methods for half a day… no luck so far
Web page looks like this…
After entering set button, URL generally looks like this:
I would like to extract that number ‘5’ in photon sketch and use it in delay -->
int number = [extraction of number 5];
I had a look on that tutorial… however, the tutorial code is a bit complicated for my application.
I found your post on this helpful forum which met 80% of what I want to do.
I managed to tweak to get what I want based on your code.
Thank you very much.
I learned from the tutorial as well as from your code.
Since I was dealing with single button, your post was a perfect fit for my application.
Perhaps, that tutorial will be helpful when I will deal with slider control.
Still have a lot to explore in this community.