Skip to content

PRO TIP Block youtube.com at the DNS level β€” Pi-hole, NextDNS or your hosts file β€” but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Interrupts πŸ”΄ PIC Microcontroller Programming Tutorial #5 MPLAB in C

29.8K views on YouTube

In this PIC programming tutorial I will demonstrates how to setup the high and low priority interrupt with external inputs via buttons. Using the XC8 compiler with MPLAB X and a PIC18F4520 PIC microcontroller.

Git Repository
https://github.com/Devilbinder/PIC_18F_interrupts

βž₯βž₯βž₯ SUBSCRIBE FOR MORE VIDEOS βž₯βž₯βž₯
https://www.youtube.com/bindertronics?sub_confirmation=1

Facebook β–Ά https://www.facebook.com/BinderTronics
Twitter β–Ά https://twitter.com/BinderTronic

Part List β–Ά https://bindertronics.com/shop

β˜•Coffee Fundsβ˜•
Shekels
https://www.paypal.me/bindertronics9/5
Patreon
https://www.patreon.com/BinderTronics
Bitcoin
19nohZzWXxVuZ9tZvw8Pvhajt5khG5mspW
Ethereum
0x5fe29789CDaE8c73C9791bEe36c7ad5db8511D39

00:00 Intro
00:06 PIC Microcontroller Schematic
00:26 Code Setup
01:30 Interrupt Vectors
01:49 Interrupt Logic
02:17 INTCON Register 1
02:26 INTCON Code
02:42 RCON Register
02:58 RCON code
03:09 Exturnal Interrupt 0
04:07 Interrupt Service Routine Code
05:03 Exturnal Interrupt 0 Demo
05:22 Low Priority Interrupt Code
06:06 INT1 Setup
07:45 Low Priority Interrupt Demo
08:00 Code Recap
09:51 Outro

#picprogramming #picmicrocontroller #MPLAB