I buy my first Photons today,
can somebody help me, how to communicate directly with my website?
I need send (post) string to my site, and get string result.
I need most simple code to post and get string to/from my website.
Thanks so much for help.
I’d highly suggest checking out the tutorial category here on the forums since that contains various topics with awesome tutorials that should do exactly what you’re asking for. It’s a great place to start!
Hi Moors, can’t find what I’m searching for at tutorials, but thanks for reply.
What about the docs for
to start with?
Hmm, this one can get and set variables on your device, so what exactly are you missing?
Let’s say you have a Spark core with both a Spark variable and a Spark function. In my case, I have the world’s simplest servo control sketch, using the nice miniature servo in the Spark Maker Kit. Using these parts, we will build a servo that you can control from a web page anywhere and monitor the position of the servo too!
Here’s a preview of the finished tutorial:
There is a coarse adjust slider, two fine adjust buttons, and the current position of the servo is displayed. That…
Hi ScruffR, thanks, that’s a Great source, I try it.