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
Libs/Servo.lib@0:fd56ae0fc8ea, 2011-10-27 (annotated)
- Committer:
- botdream
- Date:
- Thu Oct 27 23:28:15 2011 +0000
- Revision:
- 0:fd56ae0fc8ea
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
botdream | 0:fd56ae0fc8ea | 1 | http://mbed.org/users/simon/code/Servo/#36b69a7ced07 |