Oscillator and Timers π΄ PIC Microcontroller Programming Tutorial #6 MPLAB in C
16.2K views on YouTube
In this PIC programming tutorial I will demonstrates how to change frequency of the internal oscillator, set a timer to blink a LED and using the timer to debounce a button. Using the XC8 compiler with MPLAB X and a PIC18F4520 PIC microcontroller.
Git Repository
https://github.com/Devilbinder/PIC_18F_timer0
β₯β₯β₯ 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:24 Code Overview
01:14 PIC Microcontroller Datasheet Oscillator
02:04 Oscillator Code
03:16 PIC Microcontroller Datasheet Timer
04:08 Timer Code
05:50 Instruction Frequency
06:20 Timer Duration
07:12 Timer Overflow Interrupt Datasheet
07:55 Timer Overflow Interrupt Code
08:50 Blink an LED with a Timer
10:09 Debounce A Button With A Timer
12:59 Code Recape p1
15:01 Blink Fix
15:26 Code Recape p2
15:49 Outro
#picprogramming #picmicrocontroller #MPLAB