I believe if I manage to change the ports to the software so that it uses other ports on the PIC16F876A, it will work on the PIC16F876A as well.
Could you help me doing this port changing?
I attach you the code, a programmer with little experience could do it I think, it do not think it is that hard, but I am not an experienced programmer to do it.
Please read the comments at the beginning of the program as well.