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

Function _setBrightness

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

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected