Check out the USART control info in the 16F628A errata document
You should be able to get control of the pins by clearing SPEN (RCSTA.7) and restoring the TRISB pin settings.
Check out the USART control info in the 16F628A errata document
You should be able to get control of the pins by clearing SPEN (RCSTA.7) and restoring the TRISB pin settings.
Also I recall a system variable called FLAGS or something similar that initialize the LCD module after the system has recovered from sleep mode.
See this post too: http://www.picbasic.co.uk/forum/show...1653#post51653
Ioannis
Last edited by Ioannis; - 23rd April 2016 at 15:01.
I have tried clearing various bits of the registers (including specific serial port enable bits),
but not yet resetting the LCD.
It would be bad though since the LCD is updated every frame, and initialisation is a few commands.
I think maybe I’ll leave as is, and try to control and LED or such with the RB2 pin.
Bookmarks