servom

Dependents:   servomotore progetto8 progetto9 progetto10 ... more

SG90.h

Committer:
iLyngklip
Date:
2014-04-05
Revision:
0:a62b163b1dbb

File content as of revision 0:a62b163b1dbb:

#ifndef SG90_H
#define SG90_H
#include "mbed.h"
#include "PwmOut.h"

class servo {
    
public:

PwmOut pwm1, pwm2, pwm3, pwm4;
servo();


void init();
void right(int);
void left(int);
void position(int, int);

int s1, s2, s3, s4;



};
#endif