Output variables from database to 2.4" tft lcd

Hello everyone!

I am trying to print some float variables from a database to my mcufriend 2.4" tft lcd. Previously, I am able to upload temperature and humidity readings from a DHT11 via a ESP8266-01.

Right now, I am trying to extract these previously uploaded readings and print it on my screen.

For a start, I am able to print it in my serial monitor COM5. As these data are in json format, I would love to know how to parse these data accordingly, output as float variables and to print it to my tft lcd screen. I would also need advice on how to wire the esp8266 to my arduino mega board.

Thanks!

I would love to know how to parse these data accordingly

Hi thanks for the reply. Saw the json library. Do you know which one I should use? Thanks.

If you mean which example program is the most appropriate for what you're doing, it's most likely "StringExample.ino" but that's assuming the data is coming from ram memory since you said "from a database".