Uploaded December 2022 | Updated September 2026, 3 weeks ago
In this lesson we learn about PWM, and AnalogWrite feature of Arduino. Then we learn fading LED in basic method, then fading it from 0 to 255 steps using "for" loop and "while" look and we learn also "do while" loop.
This lecture is part of Robojax Arduino Course based on SunFounder kit with lesson 1 starts here: bit.ly/sunfouder
📚⬇️ Download and resource page for this video robojax.com/RJT591
The best thank you for me is to Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
**** Purchase this SunFounder Arduino Learning kit from Affiliated Stores ***
Amazon USA:amzn.to/3iAYIh7
Amazon Canada:amzn.to/3Fm76cV
Amazon Germany :amzn.to/3UtVOYG
Amazon UK: amzn.to/3VuRNV1
Amazon France: amzn.to/3iCKfko
Amazon Spain: amzn.to/3Vu7uvA
Amazon Italy: amzn.to/3EYGu0v
Amazon Japan: amzn.to/3h0nbf1
SunFounder website: robojax.com/L/?id=367
eBay: ebay.us/xYb1lT
AliExpress: https://s.click.aliexpress.com/e/_DlS0a0F
Download Arduino Code: docs.sunfounder.com/projects/3in1-kit/en/latest
Use Chapters from timeline or click on the time
00:00 Introduction
1:29 PWM and duty cycle
6:01 LED fade basic
9:42 "for" loop
15:01 LED fade in 255 steps with "for" loop
14:59 "for" loop demonstration
15:42 "while" loop
16:05 "while" loop demonstration
17:04 "while" loop 2d method
18:11 "while" loop 2nd demonstration
19:10 "Do while" loop
20:41 "Do while" loop demonstration
#SunFounder #robojaxSunFounder #robojaxarduinocourse
Tutorial by Ahmad Shamshiri form Canada
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link bit.ly/donate-robojax
Power Supply I use:
DC 30V 60A Power supply: https://s.click.aliexpress.com/e/_98Ah5c
DC 60V 30A Power supply: https://s.click.aliexpress.com/e/_APyPJ0
If you found this tutorial helpful, please support me so I can continue creating contents like this. (PayPal): 🔥paypal.me/robojaxTV
Follow me on Facebook fb.me/robojaxTV
Follow me on TikTok tiktok.com/@robojaxtv
Follow me on Twitter: twitter.com/robojaxTV
Follow me on Instagram: instagram.com/robojax
Get other projects code ⬇️
🔥robojax.com
**** AFFILIATE PROGRAM ****
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
In this lesson we learn about PWM, and AnalogWrite feature of Arduino. Then we learn fading LED in basic method, then fading it from 0 to 255 steps using "for" loop and "while" look and we learn also "do while" loop.
This lecture is part of Robojax Arduino Course based on SunFounder kit with lesson 1 starts here: bit.ly/sunfouder
📚⬇️ Download and resource page for this video robojax.com/RJT591
The best thank you for me is to Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊 .
**** Purchase this SunFounder Arduino Learning kit from Affiliated Stores ***
Amazon USA:amzn.to/3iAYIh7
Amazon Canada:amzn.to/3Fm76cV
Amazon Germany :amzn.to/3UtVOYG
Amazon UK: amzn.to/3VuRNV1
Amazon France: amzn.to/3iCKfko
Amazon Spain: amzn.to/3Vu7uvA
Amazon Italy: amzn.to/3EYGu0v
Amazon Japan: amzn.to/3h0nbf1
SunFounder website: robojax.com/L/?id=367
eBay: ebay.us/xYb1lT
AliExpress: https://s.click.aliexpress.com/e/_DlS0a0F
Download Arduino Code: docs.sunfounder.com/projects/3in1-kit/en/latest
Use Chapters from timeline or click on the time
00:00 Introduction
1:29 PWM and duty cycle
6:01 LED fade basic
9:42 "for" loop
15:01 LED fade in 255 steps with "for" loop
14:59 "for" loop demonstration
15:42 "while" loop
16:05 "while" loop demonstration
17:04 "while" loop 2d method
18:11 "while" loop 2nd demonstration
19:10 "Do while" loop
20:41 "Do while" loop demonstration
#SunFounder #robojaxSunFounder #robojaxarduinocourse
Tutorial by Ahmad Shamshiri form Canada
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link bit.ly/donate-robojax
Power Supply I use:
DC 30V 60A Power supply: https://s.click.aliexpress.com/e/_98Ah5c
DC 60V 30A Power supply: https://s.click.aliexpress.com/e/_APyPJ0
If you found this tutorial helpful, please support me so I can continue creating contents like this. (PayPal): 🔥paypal.me/robojaxTV
Follow me on Facebook fb.me/robojaxTV
Follow me on TikTok tiktok.com/@robojaxtv
Follow me on Twitter: twitter.com/robojaxTV
Follow me on Instagram: instagram.com/robojax
Get other projects code ⬇️
🔥robojax.com
**** AFFILIATE PROGRAM ****
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.










