Lesson 6-7: Arduino Variables and Data Types: Long
This code is part of Lecture 6, Data Types: long. Char documentation: https://www.arduino.cc/reference/en/language/variables/data-types/long/537-Lesson 6: Introduction to Arduino Data Types
Язык: C++
/*
* This code is part of Step-by-Step Arduino Course
Code: Lecture 06-7
* Arduino Variables and Data Types: Long
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, YouTube.com/robojaxTV
* Feb 10, 2019
Please watch video instructions here: https://youtu.be/n0z6fjww8eA
This code is available at: http://robojax.com/course1/?vid=lecture06
*/
void setup() {
long num = 186000L;
long weight = num * 1000;
Serial.begin(9600);
Serial.println("Robojax Step-by-Step Arduino Course");
//Robojax Step-by-Step Arduino Course http://robojax.com/L/?id=338
Serial.print("Number:");
Serial.println(num);
Serial.print("Weight:");
Serial.println(weight);
}
void loop() {
//Robojax Step-by-Step Arduino Course http://robojax.com/L/?id=338
}
Ресурсы и ссылки
Ресурсов пока нет.
Файлы📁
Нет доступных файлов.