diff --git a/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaDisplay.cpp b/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaDisplay.cpp index d141ee2..37e00c8 100644 --- a/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaDisplay.cpp +++ b/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaDisplay.cpp @@ -62,6 +62,7 @@ void ESPMegaDisplay::processTouchPayload() { // The fourth byte of the payload is the event uint8_t event = rx_buffer[3]; // 0x01 is press, 0x00 is release + ESP_LOGV("ESPMegaDisplay", "Touch event: page=%d, component=%d, event=%d", page, component, event); } /** @@ -74,6 +75,7 @@ void ESPMegaDisplay::processPageReportPayload() { pageChangeCallback(this->currentPage); } rx_buffer_index = 0; + ESP_LOGV("ESPMegaDisplay", "Page change event: page=%d", this->currentPage); } /**