can't push chnages :(

Fork of FBRDash by Michael Allan

inc/LEDS.h

Committer:
tomontoast
Date:
2012-10-14
Revision:
5:177520d43c87
Parent:
2:825f572902c6

File content as of revision 5:177520d43c87:

#ifndef FBRDASH_LEDS_H
#define FBRDASH_LEDS_H

#include "mbed.h"

class LEDS
{
    public:
        LEDS(PwmOut _pins[]);
        void refresh(float rpm);
        
        static const int NUM_LEDS = 6;
    
    private:
        PwmOut* pins;
    
    //revs represented by last red LED
    static const int LIMIT = 12000.0;
        
};

#endif