Arduino UNO R4 Lesson 09. User-Defined Functions and Serial Input | Potentiometer to Control RGB LED

preview_player
Показать описание
This is the 9th lesson of the Arduino UNO R4 Minima Ultimate Training Series. In this video, Joed Goh explains how to create custom functions (user-defined functions) in organizing Arduino codes. He explains the concept of a function parameter and return value. He also illustrates creating a dynamic program that accepts user input through a Serial monitor in controlling RGB LED. Finally, he demonstrates how to use the potentiometer's analogRead value to dynamically control an RGB LED.

===========================================================================
---------------------------------------------------------- Where to buy? ----------------------------------------------------
SunFounder Official Website:

SunFounder Ultimate Sensor Kit with Original Arduino Uno R4 Minima

SunFounder 3 in 1 Ultimate Starter Kit with Original Arduino Uno R4 Minima

SunFounder Elite Explorer Kit with Original Arduino Uno R4 WiFi

Amazon US
SunFounder Ultimate Sensor Kit with Original Arduino Uno R4 Minima -
SunFounder Ultimate Starter Kit with Original Arduino Uno R4 Minima -

==========================================================================

------------------------------------------------------------------------------------------------------------------
TABLE OF CONTENTS
00:00 Introduction
02:14 Materials
03:07 User-Defined Functions
12:30 Serial Input
24:45 Using Potentiometers to Control an RGB LED
28:30 Challenge Activity
29:34 Up Next

Arduino UNO R4 Lesson08. Controlling RGB Full Color LED through Pulse Width Modulation (PWM)

Arduino UNO R4 Lesson06. How to Read Analog Sensors? Potentiometer | Bits, Bytes, & Binary Numbers
------------------------------------------------------------------------------------------------------------------
PLAYLISTS:
Arduino UNO R4 Minima Ultimate Training Course

Arduino UNO R4 WiFi - IoT Development Training Course

SunFounder Kit Product Review

Designing Database Solutions with Microsoft SQL Server 2019

Artificial Intelligence and Machine Learning Foundations

IoT Development

Android App Development in Kotlin

Embedded Systems using Arduino Uno

Data Structures and Algorithms using C#

References:

#SunFounder #arduino #rgbled #pwm #serialmonitor #functions
Рекомендации по теме
Комментарии
Автор

Sir help me to make Water level moniter sir that want to be like "roll-up, self-retracting tape measures"

KKBUGHUNTER_
Автор

Hi Joed, Thanks for your tutorials.I need a bit of explanation of how the string is sorted out for the 3 rd value since there is no comma after the 3rd value sent see timestamp 19: mins on-wards

HENRYGELSTHORPE-ig
Автор

Thanks again joed, still trying to get my head around this lesson (9), hipe i get it before the next lesson 😅

colramsha
Автор

Hi good video 👍
But i see how you created 2 user-defined function using "void" as data type that has no parameters. And another "void" with parameters.
What are the other data types and are you going to create a video using and explaining those data types?

donamills