I am writing a program which takes analog and digital measurements and outputs them to serial, a four line LCD and SD card once per second (using Millis). While processing the data it also looks for faulty/out of range measurements using if() commands.
For each 'fault' that is identified it successfully displays a corresponding fault message string on one line of the LCD for that second instead of one of the routine input measurement strings, however I would like each fault message string to display for three seconds. With there being four lines on the display, should I use four individual Millis examples with 3000ms intervals for this, or is there a better way?
Additionally, if more than four faults are due to be displayed at any one time how would I integrate a queue, while keeping each string on the same line of the display for the entire three second duration?
Your thoughts are very much appreciated.