Links2004 / arduinoVNC

a VNC Client for Arduino based on rfbproto
GNU General Public License v2.0
301 stars 57 forks source link

ESP32 support #13

Closed h3ndrik closed 5 years ago

h3ndrik commented 5 years ago

introduce a few #ifdef to support ESP32.

Links2004 commented 5 years ago

yay, looking good, thanks. which frame rate did you get with a ESP32?

h3ndrik commented 5 years ago

i'm getting 8fps with slightly modified example code and tightvnc. i'll leave a comment if i find out how to speed things up. also i'm afraid the endian-ness is wrong. i'll open another pull-request for this.

Links2004 commented 5 years ago

the low FPS is most likely from the Adafruit_ILI9341 lib, the code there is basically non optimized for the ESP8266 I have a full rewrite: https://github.com/Links2004/Adafruit_ILI9341 with it I where getting 20-25 fps on the ESP8266 ;)

after a short look at the current code of Adafruit, it look like they still are not able to use the SPI interface of the ESP to there full there full advantage (3 years later). the ESP32 hat the same FIFO capabilities then the ESP8266 so there is much to gain there.

h3ndrik commented 5 years ago

still getting around 9fps with the standard adafruit library. maybe one could use https://github.com/Bodmer/TFT_eSPI which gives me better results anyways. but i don't have enough spare time at hand to do this. at least at the moment.