MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / createDevices

Function createDevices

Devices/lilygo-thmi/Source/Configuration.cpp:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9using namespace tt::hal;
10
11static std::vector<std::shared_ptr<tt::hal::Device>> createDevices() {
12 return {
13 createDisplay(),
14 std::make_shared<Power>(),
15 ButtonControl::createOneButtonControl(0)
16 };
17}
18
19extern const Configuration hardwareConfiguration = {
20 .initBoot = initBoot,

Callers

nothing calls this directly

Calls 1

createDisplayFunction · 0.50

Tested by

no test coverage detected