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

preview_player
Показать описание
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.

آشنایی با ملیس به فارسی

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 ***

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

Power Supply I use:

Get other projects code and learn Arduino
#SunFounder #robojaxSunFounder #robojaxMillis

**** AFFILIATE PROGRAM ****
Рекомендации по теме
Комментарии
Автор

Thanks! Now to wrap this around my head so that I can manage temp and humidity with arduino simultaneously!

unconsciouscreator
Автор

Thank you so much for this video. I’ve been needing to study millis().

aaronfrye
Автор

Sir how to change 60 to 90 using LCD ?

akash
welcome to shbcf.ru