SegLCDLib
Loading...
Searching...
No Matches
SegBacklight.h
Go to the documentation of this file.
1#ifndef SEGBACKLIGHT_H
2#define SEGBACKLIGHT_H
3
4#include <stdint.h>
5
12 public:
13 virtual ~SegBacklight() = default;
14
20 virtual void init(bool pwm) = 0;
21
27 virtual void setDigital(bool state) = 0;
28
34 virtual void setBrightness(uint8_t brightness) = 0;
35};
36
37#endif
Abstract backlight control.
Definition SegBacklight.h:11
virtual void setBrightness(uint8_t brightness)=0
Drive the backlight brightness.
virtual void init(bool pwm)=0
Initialize the backlight output.
virtual void setDigital(bool state)=0
Drive the backlight on/off.
virtual ~SegBacklight()=default