Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
main.cpp
- Committer:
- chris
- Date:
- 2012-10-15
- Revision:
- 0:d1fc4eddceab
- Child:
- 1:e5e994163bee
File content as of revision 0:d1fc4eddceab:
#include "mbed.h"
#include "Servo.h"
Servo s1(p21);
Servo s2(p22);
AnalogIn p1(p19);
AnalogIn p2(p20);
int main() {
while(1) {
s1=p1;
s2=p2;
wait(0.1);
}
}