PIC 18 INT - Intro to Internal Interruptions

PIC Unit #05 — INT — The Hello World for Interruptions — Episode #01

J3
Jungletronics
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:)

Fig 1. Blinking LED w/ Interruptions :D

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

--

--

J3
Jungletronics

😎 Gilberto Oliveira Jr | 🖥️ Computer Engineer | 🐍 Python | 🧩 C | 💎 Rails | 🤖 AI & IoT | ✍️