Successful acro and level mode now! Relying on MPU9250 as base sensor. I'm working continuously on tuning and features :) NEWEST VERSION ON: https://github.com/MaEtUgR/FlyBed (CODE 100% compatible/copyable)

Dependencies:   mbed

LED/LED.h

Committer:
maetugr
Date:
2015-11-19
Revision:
8:609a2ad4c30e
Parent:
0:37f0c1e8fa66

File content as of revision 8:609a2ad4c30e:

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