I have attached a copy of my full code just in case anyone is interested in future.
ran on Arduino mega2560
Remove the bmp draw functions if you wish to run it on a 240x320 tft.
Also worth noting it wont run unless you have an AM2315 sensor connected so maybe remove they parts aswell
protoype_latest.ino (8.54 KB)