poxkix
Member level 5
I'm having problems in my 4620. In simulation I used PORTB as pins for my lcd and it works really fine.
When I interfaced it on a actual circuit nothing will happen.
The connections are 100% correct. No questions asked. No hardware problems too.
Now, I have read the datasheet and PORTB has interrupts. Are these interrupts in ON state by default and should be turned off?
I just want to make the PORTB as normal digital I/O.
This is the code I sued for the PORT setup:
INTCON = 0x00;
Is that correct? I don't quite understand the datasheet.
When I interfaced it on a actual circuit nothing will happen.
The connections are 100% correct. No questions asked. No hardware problems too.
Now, I have read the datasheet and PORTB has interrupts. Are these interrupts in ON state by default and should be turned off?
I just want to make the PORTB as normal digital I/O.
This is the code I sued for the PORT setup:
INTCON = 0x00;
Is that correct? I don't quite understand the datasheet.