I have a short program written which I would like to display text onto a display for 2 seconds when a button is pressed. Do far I have this code:
disp.SetCursor(0, 0); disp.PrintString("Sensor"); disp.SetCursot(1, 0); disp.PrintString("Zeroed"); Thread.Sleep(2000);
I imagined that this would hold the display values for 2 seconds but it does not, the Sensor Zeroed text just flashes up and then goes back to the original display value.
Any suggestions would be greatly appreciated.