How to add a second LED for control?

Hello to all:
Can anyone help me with this...I would like to add a second LED or relay output to be controlled via the web page. I am not sure how to modify the web page or the arduino sketch. Thanks in advance for your help with this....
--arniep

BlinkLed_ptthtm_forum.ino (6.75 KB)

index.htm (695 Bytes)

jquery.js (91.8 KB)

main.js (1.47 KB)

I think you gotta clarify your question...why are you having trouble editing files? Or are you having trouble running it? How far have you got?

index.htm has:

	<a id="lightbulb" class="on" href="/blinkled"></a>

You need another line like this that has a different id and a different hreff value.

The sketch has:

  {"/blinkled", TinyWebServer::POST, &blink_led_handler },

The first argument matches the href value from the index.htm file, and the 3rd argument is the function to call.
Copy this line, and change the href value and the function handler.

Thanks Paul. I will give that a try and report back. I appreciate the help.
--arniep

Paul:
Do you know where I can find information about how handlers work and how to use them?
Thanks....arniep