wolph42:
Everything works!!.......However after a 'while'
If it works at all, I submit that the only bit of code what would be noteworthy is a bit you don't show - your loop time. If a "while" is in fact more time than it takes to do a loop, the code could be innocent and you might be better off looking for the real problem, rather than "resetting the screen every hour or so", which may well be just a temporary fix any way. It could be that the screen goes dark because it is getting hot, so maybe the problem is in power supply.