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

Function _post_setup_gpio

boards/ESP-General/interface.cpp:17–20  ·  view source on GitHub ↗

** Function name: _post_setup_gpio() ** Location: main.cpp ** Description: second stage gpio setup to make a few functions work ***************************************************************************************/

Source from the content-addressed store, hash-verified

15** Description: second stage gpio setup to make a few functions work
16***************************************************************************************/
17void _post_setup_gpio() {
18 launcherConsolePrintf("%s\n", String("Setting GPIO 0 as Input, press to access the Launcher").c_str());
19 launcherGpioInputPullup(SEL_BTN);
20}
21
22/*********************************************************************
23** Function: setBrightness

Callers

nothing calls this directly

Calls 2

launcherConsolePrintfFunction · 0.85
launcherGpioInputPullupFunction · 0.85

Tested by

no test coverage detected