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

Function createTouch

Devices/m5stack-cores3/Source/devices/Display.cpp:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22static std::shared_ptr<tt::hal::touch::TouchDevice> createTouch() {
23 auto configuration = std::make_unique<Ft5x06Touch::Configuration>(
24 I2C_NUM_0,
25 319,//LCD_HORIZONTAL_RESOLUTION,
26 239//LCD_VERTICAL_RESOLUTION,
27 );
28
29 return std::make_shared<Ft5x06Touch>(std::move(configuration));
30}
31
32std::shared_ptr<tt::hal::display::DisplayDevice> createDisplay() {
33 Ili934xDisplay::Configuration panel_configuration = {

Callers 1

createDisplayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected