Charles Young's development fork. Going forward I only want to push mature code to main repository.
Fork of GEO_COUNTER_L432KC by
Diff: LED7segDisplay.hpp
- Revision:
- 40:a41b4e8f03a2
- Parent:
- 35:63e6c6fe6eec
- Child:
- 41:08bf3ea5eba4
--- a/LED7segDisplay.hpp Thu Sep 06 10:06:50 2018 -0700 +++ b/LED7segDisplay.hpp Thu Sep 06 10:15:48 2018 -0700 @@ -41,7 +41,7 @@ void Display_2D_write(unsigned short); // write to MAX7219 (Gate 2-digits display) void Display_brightness_up(); void Display_brightness_down(); - uint16_t GetBrightness() {return brightness;}; + uint16_t GetBrightness() {return brightness - BRIGHTNESS_MIN;}; private: uint16_t brightness;