> PORTE will be in ANALOG mode. > > Change the ADCON1 register to make it work in digital mode. > > bsf STATUS,RP0 > movlw 6h ; all analog pins = digital > movwf ADCCON1 > bcf STATUS,RP0 > > > Make sure the unused pins on the other ports are set as outputs. >Tony Hi, The code is now changed (as above) all unused pins were set as output and i made sure i was refering to the right page: bcf STATUS, RP1 bsf STATUS, RP0 ---code--- There was a slight change, there are some characters (all the same and unreadable) at the display now when turning on. Maybe somone would take a look at the full code (it's short). http://aart.myip.org/test/ the 84 code is working and the 877 aint, i'm using a bootloader these are the first few lines. Thanks a lot, Aart. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.