Great,
I added both ANSEL and CMCON settings as you suggested and it works fine now (I can see "TEST" in the terminal screen).
I'm going back to the data sheet and try to understand what these settings change to my prog.
I'll also try to "play" with the oscillator settings since this is not absolutely clear to me at that time.
Thanx a lot for your help.
Bookmarks