• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

how to implement counter circuit using PIC

Status
Not open for further replies.

blibala

New Member
can anyone tell me how to implement counter by using PIC16F877?
my spec is as following:
the PIC will detect the pulse from a sensor for a duration of 5 seconds. after that the counter will reset again and continue to count. then the output of the counter will drive the LCD module.
(1) how to set the registers in the PIC in order to use the counter function?
(2)how to obtain the output from the counter?
 
Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading
Top