Did you add the lines that I posted? That pic has an LCD driver which uses the pins you are having problems with. It needs to be turned off. Adding these lines
You have to help yourself we can't write your programs for you, read the data sheet.Code:DEFINE OSC 4 ' or 8 etc CMCON0 =%00000111 'COMPARATOR OFF ADCON0 =%00000000 'ADC off 'SET LCD REGISTERS LCDCON = 0 'LCD disabled LCDPS = 0 LCDSE0 = 0 'SEGMENTS 0-7 off LCDSE1 = 0 'SEGMENTS 8 -15 OFF LCDSE2 = 0 'SEGMENTS 16 - 23 OFF
Bookmarks