I'm developing a program in which when a value is exceeded, a warning will appear in a TFT .. But I just want this warning function to run once and can only exit from it with a press of a button!
While the button is not pressed, I want the warning function to be shown !!!WITHOUT blinking!!! meaning that this instruction has to be ignored inside the loop while button=HIGH so the program can continue calculating some sensor values.