witnessmenow / ESP32-Cheap-Yellow-Display

Building a community around a cheap ESP32 Display with a touch screen
MIT License
1.3k stars 130 forks source link

Examples/Basics/2-TouchTest/platformio.ini adding -DUSE_HSPI_PORT causes the example code not to work #71

Closed Hwerow closed 7 months ago

Hwerow commented 7 months ago

Examples/Basics/2-TouchTest/platformio.ini I was trying out the examples and I found that adding -DUSE_HSPI_PORT causes the example touch code not to work Cheers

FranziHH commented 7 months ago

I had the same problem: After a long search I found this solution:

replace -DUSE_HSPI_PORT with -DCONFIG_TFT_HSPI_PORT

also in LVGL

Hwerow commented 7 months ago

Thanks very much . Cheers

TheNitek commented 7 months ago

Can you elaborate on issue? Is it a compilation problem or did the touch screen stop to work?

TheNitek commented 7 months ago

Ok, I see the issue. No idea why this i happening yet, but you can just delete the USE_HSPI_PORT line