![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
can't push chnages :(
Fork of FBRDash by
Diff: inc/LEDS.h
- Revision:
- 2:825f572902c6
- Parent:
- 1:b3907b8d9f65
- Child:
- 5:177520d43c87
diff -r b3907b8d9f65 -r 825f572902c6 inc/LEDS.h --- 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; };