Simple example to drive a servo on pin 1. A serial input at 57600 baud send a percentage from 0 to 100 (followed by whitespace) and a pulse goes out to drive an RC servo to one end of travel to another. Example for my DDJ blog at

Dependencies:   mbed

Download repository: zip gz

Files at revision 0:10d20e0f582e

Name Size Actions
mbed.bld 65 Revisions Annotate
meter.cpp 664 Revisions Annotate