Search found 3 matches

by Windorey
Mon Dec 04, 2023 9:49 pm
Forum: ESP-IDF
Topic: ESP32-S3 read encoder and get difference from last reading
Replies: 0
Views: 3742

ESP32-S3 read encoder and get difference from last reading

Hello, I am trying to make a code that will read the difference of the rotarty encoder from when it was last read with PCNT peripheral. For example, if I turn it 3 times anticlockwise after the last read, the next read will show -3, and if I have not touched it since the last read, it will be 0. I h...
by Windorey
Sat Mar 18, 2023 12:53 pm
Forum: ESP-IDF
Topic: Peripheral API - LCD - PROBLEM!
Replies: 0
Views: 2142

Peripheral API - LCD - PROBLEM!

Hello, I am a beginner with ESP-IDF, and I'm trying to use LVGL with the IDF-provided LCD drivers. I have both an ST7789V and an ILI9341 display, but using both with a provided example, I get very low performance. The performance is so low, that even an Arduino library beats it. Here is my code (edi...
by Windorey
Thu Mar 16, 2023 9:22 pm
Forum: ESP-IDF
Topic: LCD example very low performance
Replies: 0
Views: 653

LCD example very low performance

Hello, I am using the default SPI LCD example that runs LVGL with a meter widget and some rotate button. I changed the SPI speed to 80MHz, enabled performance monitor and noticed the performance is very bad (average 17 FPS). On Arduino IDE I manage to get with the same UI more than 80 FPS. How to fi...