neazoi
Advanced Member level 6
- Joined
- Jan 5, 2008
- Messages
- 4,157
- Helped
- 13
- Reputation
- 26
- Reaction score
- 15
- Trophy points
- 1,318
- Location
- Greece
- Activity points
- 37,198
Hello I have found this project for a frequency counter https://www.best-microcontroller-projects.com/support-files/frequency-counter-circuit-7seg-tmr1.pdf
Since it has many pins not used and since space is limited, I would like to port the code to another PIC.
As far as I can see from the datasheet https://ww1.microchip.com/downloads/en/DeviceDoc/39582C.pdf PIC16F876A is very similar to the PIC16F877A used in this project but it has fewer ports.
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.
Any help on this or where to start from?
Since it has many pins not used and since space is limited, I would like to port the code to another PIC.
As far as I can see from the datasheet https://ww1.microchip.com/downloads/en/DeviceDoc/39582C.pdf PIC16F876A is very similar to the PIC16F877A used in this project but it has fewer ports.
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.
Any help on this or where to start from?