[SOLVED]Photon + html problem (led)

hey all, im using the photon connected and i can use simple code like in arduino, but i can’t do like this simple webpage work

<!-- Replace your-device-ID-goes-here with your actual device ID
and replace your-access-token-goes-here with your actual access token-->

    //<!DOCTYPE>
    //<html>
      //<body>
     // <center>
      //<br>
      //<br>
      //<br>
      //<form action="https://api.particle.io/v1/devices/My ID/led?access_token=MY ACESS TOKEN" method="POST">
        Tell your device what to do!<br>
        //<br>
        //<input type="radio" name="args" value="on">Turn the LED on.
        //<br>
        //<input type="radio" name="args" value="off">Turn the LED off.
        //<br>
        //<br>
        //<input type="submit" value="Do it!">
      //</form>
      //</center>
      //</body>
    //</html>

i use multiple code on build on particle, but i dont know what to use their to let my arduino work, i have a small breadboard only so what can i do?
if i try to light up one led i can but cant nothing from html, what i do wrong? thanks

You could try taking out all those “/” that are messing up your HTML…
You should also replace the DEVICE ID and ACCESSTOKEN with your own. Then make sure the function name is the same.

And looking into this tutorial might be a good starting point too.

1 Like

tnks, its working now i have another problem if you can help me:
here

SOLVED this

Mind sharing how, so others can benefit as well?

1 Like

hi, sorry take so much time here is the project any problem contact me
SEE IT HERE