NOT FINISHED YET!!! My first try to get a self built fully working Quadrocopter based on an mbed, a self built frame and some other more or less cheap parts.

Dependencies:   mbed MODI2C

LED/LED.h

Committer:
maetugr
Date:
2014-02-14
Revision:
40:2ca410923691
Parent:
32:e2e02338805e

File content as of revision 40:2ca410923691:

// by MaEtUgR

#ifndef LED_H
#define LED_H

#include "mbed.h"

class LED {

    public:
        LED();
        void shownumber(int number);
        void ride(int times);
        void roll(int times);
        void rollnext();
        void tilt(int index);
        void set(int index);
        void reset(int index);
        int check(int index);
        void operator=(int value);
    
    private:
        BusOut Led;
        int roller;
};

#endif