Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help porting code to another micro

Status
Not open for further replies.

neazoi

Advanced Member level 6
Joined
Jan 5, 2008
Messages
4,123
Helped
13
Reputation
26
Reaction score
15
Trophy points
1,318
Location
Greece
Activity points
36,955
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?
 

Attachments

  • frequency-counter-circuit-7seg-tmr1-yu1.zip
    17.7 KB · Views: 76

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top