PIC 18 INT - Intro to Internal Interruptions
PIC Unit #05 — INT — The Hello World for Interruptions — Episode #01
Published in
1 min readNov 30, 2019
This is Interruption Hello World (blinking LEDs)! By enabling interruption, an LED (connected to PORTD.RD0) will toggle every 200 ms, while, to comparative purpose, by using the polling technique, another LED (connected to PORTD.RD1)
will toggle every 1s (1000ms/200ms => scaled 5:1). See Calculation memory below:)
That’s it!
In the next episode let’s program enable High Prior Interruption on TMR0.
See you soon!
Bye!
Related Posts
01º Episode —INT — PIC Unit #05 — The Hello World for Interruptions