Code to demonstrate how to map 2 RPC functions to command 2 servo motors via REST HTTP Get request. Pretty useful to control a webcam PAN and TILT position when using Servos in this support: There is also a servo.html file to test some HTML5 slider RANGE object to set the Servo position and make the Http Get request via AJAX (asynchronous JavaScript call) Note: Demo program to be used on the GeekSessionLab Talk (November 2011).

Dependencies:   EthernetNetIf mbed HTTPServer Servo

Download repository: zip gz

Files at revision 0:fd56ae0fc8ea

Name Size Actions
main.cpp 8961 Revisions Annotate
servo.htm.cpp 1695 Revisions Annotate