Closed xhava closed 11 years ago
I created a quick project that does this thing during the Nodebots day.
The idea is, onkeydown/onkeyup, an AJAX request is made and sends a parameter that will TURN ON/OFF the LED.
I have published my code if you want to get some reference.
Btw, since you are using a button to turn on the LED, bind the appropriate AJAX call to the button's onclick event.
A lot of thanks @third i appreciate ur help
HI SOMEONE COULD GIVE ME ANY IDEA ABOUT HOW CAN I PRESS A BUTTON IN A WEB page and with this action , turn on a led with arduino and johnny-five.
please im very interesting in this but i really like to learn about javascript and arduino and nodejs thanks