Code for alarm project with TFT