I am trying to do a simple code to operate two LEDs basted on the “Hello World” tutorial.
I connected everything and wrote a HTML page to control the imp (html file attached).
I have two questions:
When I press one of the buttons the agent sends reply and I have to press back to return to the buttons - how can I fix this issue?
I want to be able to send more than one command using a single button (light both LEDs with a single click). How can I manage that?
Thanks for the help,