Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
rogersan Regular Member Joined: 10/04/2015 Location: AustraliaPosts: 79
Posted: 03:52pm 10 Sep 2015
Copy link to clipboard
Print this post
I have a 5 volt 4 line x 20 char (I could not find a 3.3 volt LCD in this size) connected to a micromite.
I use LCD INIT 3,4,5,6,7,9 to initialise and LCD 1,1,str$("text") to write data to the display.
It all works OK but sometimes the display goes blank. You can force it to happen by unplugging and replugging the USB connector to my PC on my USB to serial interface.
The program loop is still going so I cannot use a watchdog to reset the program.
One solution is to put LCD CLOSE and LCD INIT 3,4,5,6 7,9 in the program loop. This should not be necessary.
Has anyone encountered this problem?
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 4071
Posted: 08:36pm 10 Sep 2015
Copy link to clipboard
Print this post
Does it happen every time you unplug USB?
If it does... maybe something like 5V from USB is leaking somewhere that actually more volts are needed?