MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / _setBrightness

Function _setBrightness

boards/m5stack-cplus1_1/interface.cpp:36–39  ·  view source on GitHub ↗

** Function: setBrightness ** set brightness value **********************************************************************/

Source from the content-addressed store, hash-verified

34** set brightness value
35**********************************************************************/
36void _setBrightness(uint8_t brightval) {
37 if (brightval > 100) brightval = 100;
38 axp192.ScreenBreath(brightval);
39}
40
41/*********************************************************************
42** Function: InputHandler

Callers

nothing calls this directly

Calls 1

ScreenBreathMethod · 0.80

Tested by

no test coverage detected