Lesson 14: Arduino Millis (no delay) and  map functions | SunFounder Robojax @robojax
Lesson 14: Arduino Millis (no delay) and  map functions | SunFounder Robojax  @robojax
Uploaded December 2022 | Updated November 2026, 1 day ago
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.

📚⬇️ Download and resource page for this video robojax.com/RJT597
📚⬇️ Download and resource page robojax.com/RJT875
📚⬇️ Download and resource page for this videorobojax.com/RJT876
📚⬇️ Download and resource page robojax.com/RJT877
📚⬇️ Download and resource page robojax.com/RJT874

آشنایی با ملیس به فارسی(همین درس)
youtu.be/hPNnUOuKqzQ


This lecture is part of Robojax Arduino Course based on SunFounder kit with lesson 1 starts here: bit.ly/sunfouder

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
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: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
#SunFounder #robojaxSunFounder


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.
Lesson 14: Arduino Millis (no delay) and  map functions | SunFounder RobojaxLesson 27: Car-5 SunFounder Smart Car Follows Your Hand using Arduino | RobojaxCourse Lesson 6 of 10: Controlling DC Motors using Raspberry Pi Pico 4WD Smart Car KitLesson 86: Control position of a servo motor using potentiometerPiCar-X Lesson 14 of 16 : Video Car FPV keyboard control | Raspberry Pi  car by SunFounderLesson 62: Time control without delay, LED blink with millis() - RJT484Lesson 8: AnalogWrite LED Fade, for loop, while loop and do while loops - RJT591How measure DC Voltage and Current and build Energy meter with LCD Display | Lesson 104 - RJT425Lesson 85: Introduction to Servo Motors  | Arduino Step By Step CourseLesson 71: Measure distance and display on LCD screen | Arduino Step By Step Course RJT760ESP32 Tutorial 38 - Controling RGB LED from your mobile phone | SunFounders ESP32 IoT Learning kitPiCar-X Lesson 1 of 16: Starting with PICAR-X Raspberry Pi Smart Robot car by SunFounder
Robojax |

Lesson 14: Arduino Millis (no delay) and map functions | SunFounder Robojax

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER