LCDGFX LCD display driver
1.1.5
This library is developed to control SSD1306/SSD1325/SSD1327/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
|
Controls Wio Terminal LCD back light brightness. More...
#include <lcd_backlight.hpp>
Public Member Functions | |
std::uint8_t | getBrightness () const |
Gets current brightness. More... | |
std::uint8_t | getMaxBrightness () const |
Gets maximum brightness. More... | |
void | setBrightness (std::uint8_t brightness) |
Sets brightness. More... | |
void | setMaxBrightness (std::uint8_t maxBrightness) |
Sets maximum brightness. More... | |
void | initialize () |
Initialize hardware/peripherals to control back light brightness. More... | |
Controls Wio Terminal LCD back light brightness.
Definition at line 16 of file lcd_backlight.hpp.
|
inline |
Gets current brightness.
Definition at line 26 of file lcd_backlight.hpp.
|
inline |
Gets maximum brightness.
Definition at line 31 of file lcd_backlight.hpp.
|
inline |
Initialize hardware/peripherals to control back light brightness.
Definition at line 65 of file lcd_backlight.hpp.
|
inline |
Sets brightness.
[in] | brightness | new value of brightness. If the brightness value exceeds maximum brightness, the value will be clipped. |
Definition at line 38 of file lcd_backlight.hpp.
|
inline |
Sets maximum brightness.
[in] | maxBrightness | new value of maximum brightness. If the current brightness value exceeds maximum brightness, the current brightness will be clipped. |
Definition at line 49 of file lcd_backlight.hpp.