simplify for single SG90

Dependents:   lidarproj

Fork of SG90 by Mathias Lyngklip

SG90.h

Committer:
iLyngklip
Date:
2014-04-05
Revision:
0:a62b163b1dbb
Child:
1:93e46a70966f

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