can't push chnages :(
Dependencies: PinDetect TextLCD mbed
Fork of FBRDash by
Diff: inc/LEDS.h
- Revision:
- 2:825f572902c6
- Parent:
- 1:b3907b8d9f65
--- a/inc/LEDS.h Mon Jun 25 21:01:02 2012 +0000 +++ b/inc/LEDS.h Mon Jun 25 21:20:22 2012 +0000 @@ -14,7 +14,10 @@ private: PwmOut* pins; + //revs represented by last red LED static const int LIMIT = 18000.0; + + //number of revs per LED static const int RESOLUTION = LIMIT / NUM_LEDS; };