This would be part of the problem at least. The 18F4620 has A/D inputs on severalThe only difference between the two codes is the config setup
port pins you're using to control the LCD.
RB4 is AN11. RA0 is AN0. ADCON1 = 15 disables A/D so you can use these pins for
digital I/O.
I've never seen the internal 402 error, but a re-install should take care of it.
Bookmarks