asha pawar
/
ServoProgram
my second library
Fork of ServoProgram by
Revision 1:c69cb6620088, committed 2015-11-25
- Comitter:
- ashapawar
- Date:
- Wed Nov 25 09:48:50 2015 +0000
- Parent:
- 0:7b3eabfa1a0f
- Commit message:
- asha
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7b3eabfa1a0f -r c69cb6620088 main.cpp --- a/main.cpp Tue May 18 19:40:18 2010 +0000 +++ b/main.cpp Wed Nov 25 09:48:50 2015 +0000 @@ -1,5 +1,5 @@ #include "mbed.h" -#include "Servo.h" +#include "Servo.h" Servo myservo(p21); Serial pc(USBTX, USBRX); @@ -23,5 +23,8 @@ printf("position = %.1f, range = +/-%0.4f\n", position, range); myservo.calibrate(range, 45.0); myservo = position; + + + } }