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

PWM and Fading LEDs πŸ”΄ PIC Microcontroller Programming Tutorial #10 MPLAB in C

16.6K views on YouTube

In this PIC programming tutorial I will demonstrates how to setup the PWM module and fading LEDs. Using the XC8 compiler with MPLAB X and a PIC18F4520 PIC microcontroller.

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

βž₯βž₯βž₯ 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:28 PIC Microcontroller Datasheet PWM
02:33 PWM Period
02:56 Code Overview
03:07 PWM Code
05:37 PWM Demo Code p1
07:06 PWM Demo p1
07:19 PWM Demo Code p2
08:00 PWM Demo p2
08:08 Outro

#picprogramming #picmicrocontroller #MPLAB