Lesson 10: Conditional Statement in Arduino and Using Array | SunFounder Robojax

preview_player
Показать описание
In this lesson we learn about IF, ESLE and ELSE IF statements. then we learn how to define an array, how to fill it up, how to read all elements of array and how to update the values of an array. Then we learn the advantages of array in a 4 LED projects so we learn it practically.

آشنایی با بیانیه شرطی به فارسی

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:11 Conditional statement
6:22 School grading
12:47 AND and OR
14:53 What's an Array?
17:28 Reading Array elements
19:17 Updating Array values
21:10 Defining emptry Array
22:56 Float data type
23:53 Float emptry array
25:26 Working with loop
29:54 Reading all values of array
31:08 Demonstration: reading values of an array
31:51 Filling up an array using "for" loop
33:05 Reading all values of array using for loop
34:11 Demonstration: Controling 4 LED without array
35:40 Wiring for 4 LED
37:42 Demonstration
38:21 Code explained controlling LED using Array
39:05 Comparing the two codes

Tutorial by Ahmad Shamshiri form Canada

Power Supply I use:

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

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

Tq sir.. always great in explanation.. thumbs up

voltronicsautomation
Автор

You are really good at what you teach. Please, I made an antenna rotator with arduino and 16.2 LCD, but I'm not satisfied with how it works., or is to compicated.Can you make a tutorial on how to solve it simply? As a DC motor rotation sensor, it can be a hall effect sensor, a distance sensor, etc. I wish you all the best!

acool
Автор

Hello Robojax Do you have a code example to calculate the average value every 10 or 20 or more of the result of a power calculation ie Power result done by measure of tension by current.

francoisgrandcollot