can't push chnages :(

Dependencies:   PinDetect TextLCD mbed

Fork of FBRDash by Michael Allan

Revision:
1:b3907b8d9f65
Child:
2:825f572902c6
diff -r 1f422ed56e0f -r b3907b8d9f65 inc/LEDS.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/LEDS.h	Mon Jun 25 21:01:02 2012 +0000
@@ -0,0 +1,22 @@
+#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;
+    
+    static const int LIMIT = 18000.0;
+    static const int RESOLUTION = LIMIT / NUM_LEDS;
+        
+};
+
+#endif
\ No newline at end of file