My fully self designed first stable working Quadrocopter Software.

Dependencies:   mbed

Dependents:   fluy343

/media/uploads/maetugr/dsc09031.jpg

LED/LED.h

Committer:
maetugr
Date:
2015-08-31
Revision:
10:14390c90c3f5
Parent:
0:12950aa67f2a

File content as of revision 10:14390c90c3f5:

// 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