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.

I need help to program in C language a timer0 interruption

Status
Not open for further replies.

Pat-21

New Member
I have a pic16F84A and I want it to do set RB7 after 60 seconds. I'm using 8 MHz crystal and the count of the counter should be 1832 (60 seconds).

Please I need help, it's very important.
 
Since you are using C, use "int" data type (16-bit) for counting more than 255 (8-bit).
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top