diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-12 04:13:24 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-12 04:13:24 (GMT) |
| commit | d3c01a4af9cc55aa51c13e629c262acd245cf82e (patch) | |
| tree | 9c10d27b3c042628c6ad5108f0ac4e24fe1fc9b2 /src/components/brightness/BrightnessController.h | |
| parent | 502dfad3d3dd062b37722ea65ec42908139b2e17 (diff) | |
Pwm backlight, code adapted from InfiniTime github pull request 'Add PWM Backlight'
Diffstat (limited to 'src/components/brightness/BrightnessController.h')
| -rw-r--r-- | src/components/brightness/BrightnessController.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/brightness/BrightnessController.h b/src/components/brightness/BrightnessController.h index 31ef40a..b8529d5 100644 --- a/src/components/brightness/BrightnessController.h +++ b/src/components/brightness/BrightnessController.h @@ -7,6 +7,8 @@ namespace Pinetime { class BrightnessController { public: void Init(); + private: + uint16_t pwmSequence[1] = {80}; }; } } |
