Published On Dec 13, 2022
In this lesson we learn how to use millis() function with explanation and examples. We implement it such that Arduino program runs without delay and all program runs in the duration of time. Then we learn how to use map() so we can control LED with proper percentage like 60% intensity or speed or motor with percentage like 85% and we are not worried to have value from 0 to 255. Both with example.
آشنایی با ملیس به فارسی
• Video
Purchase this kit from SunFounder website http://robojax.com/L/?id=367
This lecture is part of Robojax Arduino Course based on SunFounder kit with lesson 1 starts here: https://bit.ly/sunfouder
The best thank you for me is to not to skip ads and 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:https://amzn.to/3iAYIh7
Amazon Canada:https://amzn.to/3Fm76cV
Amazon Germany :https://amzn.to/3UtVOYG
Amazon UK: https://amzn.to/3VuRNV1
Amazon France: https://amzn.to/3iCKfko
Amazon Spain: https://amzn.to/3Vu7uvA
Amazon Italy: https://amzn.to/3EYGu0v
Amazon Japan: https://amzn.to/3h0nbf1
SunFounder website: http://robojax.com/L/?id=367
eBay: https://ebay.us/xYb1lT
AliExpress: https://s.click.aliexpress.com/e/_DlS...
Download Arduino Code: https://docs.sunfounder.com/projects/...
Use Chapters from timeline or click on the time
00:00 Introduction
1:18 What is millis()
3:07 Demonstration 1
8:07 Example 2 push button
12:12 Example 3
17:19 mapp ()
19:45 map code demonstration
22:39 map() using a custom function
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 https://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
Follow me on Facebook http://fb.me/robojaxTV
Follow me on Twitter: / robojaxtv
Follow me on Instagram: / robojax
Follow me on TikTok : https://tickTok.com/@robojaxtv
Tutorial by Robojax.com
Get other projects code and learn Arduino
http://robojax.com/
#SunFounder #robojaxSunFounder #robojaxMillis
*** 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.