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

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.

Related Posts