How to read a file hosted on website?
Posted: Sun Jul 05, 2020 11:31 am
Hi all,
I would like to work on a project where I can use the ESP32 to connect to a website and download a .h file (containing a large image array) to be displayed on a TFT LCD.
I don't have much idea on how to get started. I am able to interface the ESP32 to the TFT LCD and I can display an image properly by hardcoding the image array into my Arduino program.
Is it possible for that I have a .h file hosted on a website and have the ESP32 use HTTP post to download and stream the array? How can I do it? If would be great if there is an example code that I can refer to.
Thank you.
I would like to work on a project where I can use the ESP32 to connect to a website and download a .h file (containing a large image array) to be displayed on a TFT LCD.
I don't have much idea on how to get started. I am able to interface the ESP32 to the TFT LCD and I can display an image properly by hardcoding the image array into my Arduino program.
Is it possible for that I have a .h file hosted on a website and have the ESP32 use HTTP post to download and stream the array? How can I do it? If would be great if there is an example code that I can refer to.
Thank you.