Receive From HTML to Stamp
NWCCTV
Posts: 3,629
I have a PINK that currently I am able to communicate with my Stamp. I want to add a button on the html page that when pressed will turn on an LED on the Stamp. Can any one show me a quick and easy way to do this both on the html side and on the Stamp side?
Comments
The BS2 program checks the variable and displays the ascii value (48 or 49).
You can Google XMLHTTPREQUEST to learn about it.
The code in the SELECT clause sets the LED pin high or low based on the var_01 and then resets the variable so the 48 or 49 only shows briefly in the DEBUG window.