An fully working IMU-Filter and Sensor drivers for the 10DOF-Board over I2C. All in one simple class. Include, calibrate sensors, call read, get angles. (3D Visualisation code for Python also included) Sensors: L3G4200D, ADXL345, HMC5883, BMP085

Dependencies:   mbed

LED/LED.h

Committer:
maetugr
Date:
2013-08-29
Revision:
4:f62337b907e5
Parent:
0:3e7450f1a938

File content as of revision 4:f62337b907e5:

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