搜索代码

Lesson 6-6: Arduino Variables and Data Types: Boolean

Lesson 6-6: Arduino Variables and Data Types: Boolean

This code is part of Lecture 6, Data Types: Boolean. Char documentation: https://www.arduino.cc/reference/en/language/variables/data-types/bool/
536-Lesson 6: Introduction to Arduino Data Types
语言: C++
/*
* This code is part of Step by Step Arduino Course 
   Code: Lecture 06-6
* Arduino Variables and Data Types: Boolean

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 https://www.youtube.com/robojaxTV
* February 10, 2019  
Please watch video instruction here: https://youtu.be/n0z6fjww8eA
This code is available at: http://robojax.com/course1/?vid=lecture06

*/
void setup() {
	
 Serial.begin(9600);
 Serial.println("Robojax Step By Step Arduino Course");
 	//Robojax Step By Step Arduino Course http://robojax.com/L/?id=338

 bool x = true;
 bool b = false;

 Serial.print("x: ");
 Serial.println(x);
 Serial.println(); 

 Serial.print("b: ");
 Serial.println(b);
 Serial.println(); 
}

void loop() {
  // put your main code here, to run repeatedly:

}

资源与参考

尚无可用资源。

文件📁

没有可用的文件。