a simple library to control an animatronic head

Alex.h

Committer:
mxjac
Date:
2010-12-12
Revision:
0:8474cbec06bd
Child:
1:c5edd3b18b79

File content as of revision 0:8474cbec06bd:

#include "mbed.h"
#include "SRF05.h"
#include "Servo.h"

class Alex
{
    public:
     Alex(SRF05, Servo, Servo, Servo, Servo);// build a head object, comprised of a sensor and 4 servos
     ~Alex();
     void TestHead();
     int Testpresence();
     void Move_eyes(int);
     void Move_mouth(int);
     void Move_leaning(int);
     void Move_rotation(int);
    private:
     SRF05 S;
     Servo E, M, L, R;
};