sketch help / uploading temp reading from A0

Here is the sketch that needs to be modified

It currently does something that you haven't explained.

It is to do something that you haven't properly explained.

You can't get from point A to point B if you don't know where either point is.