I am driving a colour TFT with my arduino.
It takes a significant ammount of time to print, hence other tasks are afected and usually data loss occurs.
I need to print to the LCD once a second ONLY, while other tasks in the loop run continuously.
I tought about using the "blink without delay" example, however I need to modify it to turn a variable to ONE once every second. A loop will then check if the variable is one, information is sent to the display, variable is set to zero, and next time the loop runs, if less than a second has elapsed the variable will still check zero, so printing is skipped, howerver other functions on the loop still run.
Any ideas how this could be implemented?