MCPcopy Create free account
hub / github.com/BruceDevices/firmware / _setBrightness

Function _setBrightness

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

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

ScreenBreathMethod · 0.80

Tested by

no test coverage detected