Meike Froklage
/
ServoMotor
Code ServoMotor
Fork of Servo_HelloWorld by
main.cpp
- Committer:
- meikefrok
- Date:
- 2016-10-14
- Revision:
- 2:e917f9bc829b
- Parent:
- 1:40d2fd0b99e6
File content as of revision 2:e917f9bc829b:
#include "mbed.h" #include "Servo.h" Servo myservo(D8); int main() { // for(float p=0; p<1.0; p += 0.1) { // myservo = p; // wait(0.2); myservo = 0.5; }