Continue to Site

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.

  • 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.

Need help in resetting counter

Status
Not open for further replies.

VRL_15

New Member
I am using PIC 16f887 and LCD display

I have implemented a counter from 00 to 99

I have connected a switch to a port which increments the counter value each time I press the switch.

I need to read the counter value after every 1 second and then reset the counter back to 00.

If anyone has an idea please let me know

Thank you
 
I am using PIC 16f887 and LCD display

I have implemented a counter from 00 to 99

I have connected a switch to a port which increments the counter value each time I press the switch.

I need to read the counter value after every 1 second and then reset the counter back to 00.

If anyone has an idea please let me know

Thank you

Can you explain exactly what the circuit you're implementing this into is designed to do?
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top