in the PBP man it states. "it assumes the LCD will be used with 4 bit bus with data lines DB4-DB7 connected to PICmicro MCU PORTA.0-PORTA.3 Register Seclect to porta.4 and enable to PORTB.3" And shows a weak pull up added to PORTA.4
my ? is this does it also set up the I/O for this and is PORTA.4 used as a input.
I will be using a 16f630 that has a programmable weak pull up for PORTA.4
can I use the programmable pullup by adding my normal
CMCON = 7 'PORTA ALL DIGITAL
VRCON = 0 'VOLTAGE REF. DISABLE
TRISA = %00001100 'MAKE A.3 &.4 INPUTS
TRISC = %00000000 'MAKE ALL PORTC OUTPUTS
OPTION_REG.7 = 0 'ENABLE WEEK PULLUPS (CLEAR RAPU)
WPUA = %00010000 'WEAK PULLUP ON PORTA.4
thanks
Bookmarks