Esp32 with Ili9341 and DS18B20

For general Flowcode discussion that does not belong in the other sections.
chipfryer27
Valued Contributor
Posts: 1163
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 287 times
Been thanked: 415 times

Re: Esp32 with Ili9341 and DS18B20

Post by chipfryer27 »

Hi Jorgen

It's just referring to the "x/y" pixel position. "x,0" is the top of the display with your baseline at position x,225.

To plot the Temp against this baseline we simply deduct the temperature from 225. If the temperature was 0 then the graph would show a line being drawn at x,225 (225-0).

If the temperature was 25 then the graph would show a line being drawn at x,200 (225-25)

Nothing magical I'm afraid :lol:

Regards

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Re: Esp32 with Ili9341 and DS18B20

Post by jgu1 »

Hi Chipfreyer!

It make sense, I understand and see the ligth, usefull in other situation. It work fine. Thank you for your explanation.

Have a nice Easter, also to all FC friends :D

Br

Jorgen.

Post Reply