I have a LCD connected to a PIC16F886 along with 13 switches to the "remaining" pins for the PIC
Here is the layout
I am using PORTA0, 1, 3 of my PIC16F886 for the control lines to my LCD.
I am using PORTC0-3 for my data lines for my LCD
I have 13 switches all tied to the PIC using all of PORTB and the remaining 4 pins on PORTC.
Then I am using 1 pin on PORTA for the remaining 13th switch.
I know this question is vague, but can anyone see a problem with this scenario? Such as pins being set up right etc.
I have it in the program as the the pins being pulled low (RB0 == 0) for example.
I have to use a PIC with 28 pins because the only programmer I have is only 28 pins. And the only chip I have access to right now is the PIC16F886. So I so really prefer to stay with this arrangement if possible.
I will try to post the program tomorrow with schematic. I was just wanting to start a post to get some answers if possible.
Thanks for any help provided. I love this forum
Here is the layout
I am using PORTA0, 1, 3 of my PIC16F886 for the control lines to my LCD.
I am using PORTC0-3 for my data lines for my LCD
I have 13 switches all tied to the PIC using all of PORTB and the remaining 4 pins on PORTC.
Then I am using 1 pin on PORTA for the remaining 13th switch.
I know this question is vague, but can anyone see a problem with this scenario? Such as pins being set up right etc.
I have it in the program as the the pins being pulled low (RB0 == 0) for example.
I have to use a PIC with 28 pins because the only programmer I have is only 28 pins. And the only chip I have access to right now is the PIC16F886. So I so really prefer to stay with this arrangement if possible.
I will try to post the program tomorrow with schematic. I was just wanting to start a post to get some answers if possible.
Thanks for any help provided. I love this forum