codewitch-honey-crisis / esp_lvgl

MIT License
3 stars 0 forks source link

Cheap Yellow Display #1

Open g8kuw-tv opened 1 week ago

g8kuw-tv commented 1 week ago

Hi, I messaged you on Reddit yesterday about adding support for the CYD. You are correct, there seem to be quite a few variants. My particular one is ESP32-2432S028 (240 x 320 iLi9341V) I've successfully used the TFT_eSPI library with the CYD, but not had a lot of success with LVGL. I'm happy to test anything you have in either Arduino or PlatformIO.

codewitch-honey-crisis commented 1 week ago

Thanks, I'm on it

codewitch-honey-crisis commented 1 week ago

Hi, I added it. There are 3 different versions of this board. One and two are almost the same and will probably work regardless with either configuration. The 3rd one uses a different display controller, so select the right revision for your board.

Also I couldn't tell whether the backlight is on when high, or on when low so I had to guess. If I'm wrong, the whole screen will be dark. Please let me know if that's the case, and either way let me know how this works for you. Thanks!

g8kuw-tv commented 1 week ago

Thanks! I'll let you know what happens...

g8kuw-tv commented 1 week ago

I'm currently trying to get my head around FreeRTOS in PlatformIO - it's not obvious how to install it from PlatformIO. I'll persevere.

codewitch-honey-crisis commented 1 week ago

I think you mean the ESP-IDF. However, you don't need it. It works with Arduino.

You just need to open the folder in platformIO. Next find the bar at the bottom of vs code. find env:Default. Click it. Choose CYD-Whatever from the list that pulls down.. Wait for it to update. Then click upload. There's no installing anything.