#include "devices/Display.h" #include "devices/SdCard.h" #include "devices/CardputerKeyboard.h" #include "devices/CardputerPower.h" #include #include #include #include using namespace tt::hal; static bool initBoot() { return driver::pwmbacklight::init(LCD_PIN_BACKLIGHT, 512); } static DeviceVector createDevices() { auto tca8418 = std::make_shared(I2C_NUM_0); return { createSdCard(), createDisplay(), tca8418, std::make_shared(tca8418), std::make_shared() }; } extern const Configuration hardwareConfiguration = { .initBoot = initBoot, .uiScale = UiScale::Smallest, .createDevices = createDevices };