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: http://www.coolcomponents.co.uk/catalog/product_info.php?products_id=470&osCsid=j90j5kqfegquksdbumahtmuqg5 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). http://devrendezvous.com/?lang=en
Dependencies: EthernetNetIf mbed HTTPServer Servo
Diff: Libs/RPCInterface.lib
- Revision:
- 0:fd56ae0fc8ea
diff -r 000000000000 -r fd56ae0fc8ea Libs/RPCInterface.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Libs/RPCInterface.lib Thu Oct 27 23:28:15 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/MichaelW/code/RPCInterface/#a9e2c45097c8