Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 8th May 2003, 12:39 AM   (permalink)
Default I need help to program in C language a timer0 interruption

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.
Pat-21 is offline  
Old 8th May 2003, 02:17 PM   (permalink)
Default

Since you are using C, use "int" data type (16-bit) for counting more than 255 (8-bit).
__________________
"There is no way to peace, peace is the way!"
kinjalgp is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 03:54 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker