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.

pic16f84a pulse counter

Status
Not open for further replies.

hermi12345

Newbie level 1
Joined
Apr 7, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
we're doing a project on 16f84a that needs to count pulses... any ideas how to do it?
 

pic16f84a counter

There are alot of ideas to do this:

1- Set a pin as input and poll on this pin in the code and count changes or rising or falling edges.

2- Set Timer0 using an external clock and adjust the all the settings you want for the timer (prescaler , rising , falling edges or both, etc...) and use pin RA4 for counting.

Regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top