Ian Rogers submitted a new article:
Simple Interrupts.... - How to implement interrupts in your project.
Read more about this article...
Simple Interrupts.... - How to implement interrupts in your project.
Interrupts are quite easy to use.. They help your code run smoothly and free up time to do other processing.
The simplest interrupt is the little timer available in MOST pic micro's
Every interrupt available to you has certain flags/ bits that must be set up to use.
Timer0 has all these flag / bits....
The INTCON register on the majority of mid range pic's looks like this..
| GIE | PEIE | T0IE | INTE | RBIE | T0IF | INTF| RBIF |
GIE = Global interrupt enable.. Each interrupt can be...
Read more about this article...