PIC INT0 INT1 INT2 Altogether\o/

How to use INT0, INT1 & INT2 Interruption — PIC INT — Episode #05

J3
Jungletronics
1 min readNov 30, 2019

--

In this project let’s use INT0, INT1& INT2 INTERRUPTIONS, all together:
By pressing PORTB.RB0(INT0) an LED(PORTD.RD4) will light up \o/
By pressing PORTB.RB1(INT1) an LED(PORTD.RD5) will light up \o/
By pressing PORTB.RB2(INT2) an LED(PORTD.RD6) will light up \o/
All external interrupts (INT0, INT1, and INT2) can wake-up the processor from Idle or Sleep modes “/

Fig 1. INT0, 1 & 2 altogether!

That’s it!

In the next episode let’s program ADC interruptions.

See you soon!

Bye!

Related Posts

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

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

03º Episode — INT — PIC Unit #05 — Using INT with ADC Readings!

04º Episode — INT — PIC Unit # 05— Using INT0!

04º Episode — INT — PIC Unit #05 — Using INT0, INT1 & INT2!

--

--

J3
Jungletronics

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