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

Function _setBrightness

boards/m5stack-core/interface.cpp:32–35  ·  view source on GitHub ↗

** Function: setBrightness ** location: settings.cpp ** set brightness value **********************************************************************/

Source from the content-addressed store, hash-verified

30** set brightness value
31**********************************************************************/
32void _setBrightness(uint8_t brightval) {
33 uint8_t _tmp = (255 * brightval) / 100;
34 M5.Lcd.setBrightness(_tmp);
35}
36
37/*********************************************************************
38** Function: InputHandler

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected