I am using PICDEM LCD2 development board with PIC18f87J90 controller
I intend to use only two inputs for up and down counter
I defined the ports as follows:
clrf PORTB
movlw 0xC0
movwf TRISB
for using PORTB 7 and 6 as inputs
When I make these changes in my program I am not executing up and down correctly
I am using LUMEX LCD where supply voltage for logic is 5V.
I provide 5V for display VDD using voltage regulator
But when I check the voltage on PORTS B 6 and 5 it is 2.5V and 1.78V respectively
Also Vcc on the board for PIC18f87J90 is 3.3V
If anyone has an idea please let me know
Thanks
I intend to use only two inputs for up and down counter
I defined the ports as follows:
clrf PORTB
movlw 0xC0
movwf TRISB
for using PORTB 7 and 6 as inputs
When I make these changes in my program I am not executing up and down correctly
I am using LUMEX LCD where supply voltage for logic is 5V.
I provide 5V for display VDD using voltage regulator
But when I check the voltage on PORTS B 6 and 5 it is 2.5V and 1.78V respectively
Also Vcc on the board for PIC18f87J90 is 3.3V
If anyone has an idea please let me know
Thanks
Last edited: