Pan/Tilt servo control using only Agent & JQuery - Working Example

Here is working example code to control two servos in a Pan/Tilt configuration using only the agent - no additional webserver needed. It uses two JQueryUI sliders that send on control “stop”, so you only send a command to the device when you release the control. You can also input text. The controls work nicely on mobile as well. The CSS could use some more tweaking.

You can PWM 7 servos with an Imp module!