15#if !defined(ESP_PLATFORM) || !(CONFIG_IDF_TARGET_ESP32S3)
16#warning Compilation target must be ESP32_S3 for this device.
26class Esp32s3ParallelIpsCapacitive :
public ComboDevice {
29 roo_display::esp32s3_dma::ParallelRgb565<esp32s3_dma::FLUSH_MODE_LAZY>;
31 using ColorMode = Display::ColorMode;
33 static constexpr ByteOrder byte_order = Display::byte_order;
36 enum Resolution { k800x480, k1024x600 };
38 Esp32s3ParallelIpsCapacitive(Resolution resolution,
39 Orientation orientation = Orientation(),
40 I2cMasterBusHandle i2c = I2cMasterBusHandle());
43 void initTransport() { i2c_.init(17, 18); }
45 Display& display()
override {
return display_; }
47 TouchDevice* touch()
override {
return &touch_; }
50 TouchCalibration touch_calibration()
override;
53 Resolution resolution_;
54 I2cMasterBusHandle i2c_;
60class Esp32s3ParallelIpsCapacitive800x480
61 :
public Esp32s3ParallelIpsCapacitive {
63 Esp32s3ParallelIpsCapacitive800x480(
64 Orientation orientation = Orientation(),
65 I2cMasterBusHandle i2c = I2cMasterBusHandle())
66 : Esp32s3ParallelIpsCapacitive(k800x480, orientation, i2c) {}
70class Esp32s3ParallelIpsCapacitive1024x600
71 :
public Esp32s3ParallelIpsCapacitive {
73 Esp32s3ParallelIpsCapacitive1024x600(
74 Orientation orientation = Orientation(),
75 I2cMasterBusHandle i2c = I2cMasterBusHandle())
76 : Esp32s3ParallelIpsCapacitive(k1024x600, orientation, i2c) {}
roo_io::ByteOrder ByteOrder