Gets user Input to turn the servo to certain degrees

Dependencies:   mbed

servo.h

Committer:
hzelayasolano22
Date:
2019-01-13
Revision:
3:5b6a55afc60a
Parent:
2:9d9717796ab2
Child:
7:78973b67cd90

File content as of revision 3:5b6a55afc60a:

#ifndef SERVO_H
#define SERVO_H
#include "mbed.h"

void setServo();
void moveServo(char a);
int pulsewidth(int a);