Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bmorcelli/Launcher
/ turnOffDisplay
Function
turnOffDisplay
src/powerSave.cpp:6–6 ·
view source on GitHub ↗
Turn off the display */
Source
from the content-addressed store, hash-verified
4
5
/* Turn off the display */
6
void turnOffDisplay() { setBrightness(0, false); }
7
8
/* If the device screen is off, turn on, else just refresh sleep timer */
9
bool wakeUpScreen() {
Callers
2
checkPowerSaveTime
Function · 0.85
sleepModeOn
Function · 0.85
Calls
1
setBrightness
Function · 0.85
Tested by
no test coverage detected