Save this video free

CE351 lec17 PWM pins, TOP, BOTTOM, Mode 14

Yiyan Li · 22:14 · Watch on YouTube

CE351 lec17 PWM pins, TOP, BOTTOM, Mode 14 Watch on YouTube →

Overview

Yiyan Li explains active-low PWM control for LEDs, including how `analogWrite(pin, 255)` turns an LED off and how clearing a compare-output control bit disconnects PWM. The lecture reviews an 8-bit Timer2 preload calculation for a 10 ms interval, then applies 8-bit RGB PWM values and a 10 ms interrupt routine to fade through six colors in sequence.

Key takeaways

Chapters

0:00 Active-Low PWM Control and the Timer2 10 ms Preload
4:29 Timer2 Output-Compare Pins and Active-Low RGB Values
7:46 Six-Color RGB Tour and the Provided Code Template
12:00 Fading with 10 ms Interrupts and 8-Bit Wraparound

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Yiyan Li.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.