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

Function _setup_gpio

boards/elecrow/interface.cpp:13–17  ·  view source on GitHub ↗

** Function name: _setup_gpio() ** Location: main.cpp ** Description: initial setup for the device ***************************************************************************************/

Source from the content-addressed store, hash-verified

11** Description: initial setup for the device
12***************************************************************************************/
13void _setup_gpio() {
14 pinMode(TOUCH_CS, OUTPUT);
15 digitalWrite(TOUCH_CS, HIGH);
16 bruceConfig.colorInverted = 0;
17}
18
19/***************************************************************************************
20** Function name: _post_setup_gpio()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected