Back to Arduino Step By Step Course

Lesson 08: Arduino Conditional Statements

If you don't like to see ads while video is being played you can purchase this course for $200 from Udemy or purchase YouTube premium Here

Lesson 08: Arduino Conditional Statements

Please select other codes for this lecture from the links below.

Code 2 Lecture 8

In this lecture we learn about Conditional Statement such as if, else if and else with multiple examples.


 /*
 * S01-08-2
 * Contional Statement 2
   Please watch video instruction here https://youtu.be/Mky-04NH_CQ
 This code is available at http://robojax.com/course1/?vid=lecture08
 
with over 100 lectures Free On  YouTube Watch it here http://robojax.com/L/?id=338
Get the code for the course: http://robojax.com/L/?id=339 
 * Written by Ahmad Shamshiri for Robojax, robojax.com http:youTube.com/robojaxTV

 * at 22:27 on Feb 07, 2019 in Ajax, Ontario, Canada
 */

int k =12;
int x = 10;

void setup() {
  Serial.begin(9600);//initialize the serial monitor

  if ( x > k ){
    Serial.println("x > k");
  }else{
    Serial.println("x < k");
  }

    


}

void loop() {
  	//Robojax Step By Step Arduino Course http://robojax.com/L/?id=338

}




   

The least I expect from you is to thumb up the video and subscribe to my channel. I appriciate that. .I have spent months making these lectures and writing code. You don't lose anything by subscribging to my channel. Your subscription is stamp of approval to my videos and more people can find them and in it turn it helps me. Thank you

If you found this tutorial helpful, please support me so I can continue creating content like this. support me via PayPal

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