I am trying to build a moving message display using the info I got from this forum. I am attaching the details. The display is working fine. But I want to increase the number of rows. I am new to micro controllers. I found PIC16F876 has more number of I/O pins than PIC16F628A and I want to know that whether I can use it and the necessary changes to be made to accomodate it. Please help me....
Yes, it should be perfectly possible to move onto the 16F876 or 876A or 877A chips.
Do not use that coding, but any changes should be minimal and obvious; most codes in the 16F range can be moved upwards to newer / larger 16F chips quite easily
Well the hardware should simply move over without any changes apart from the pins use by the crystal.
That code I am not familiar with, I assume it is Basic ??
However the lines I can see that will need changing are the TARGET to the 876 / A and change the CMON line, that becomes ADCON1 on the 876.
In assembler it would be:-
MOVLW 0x06 ; Configure all pins
MOVWF ADCON1 ; as digital inputs - meaning load hex value 06 into register ADCON1