Back to Arduino Step By Step Course

Lesson 05: Introduction to Serial Monitor


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 05: Introduction to Serial Monitor

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

This is lecture 00 of Arduino Step by Step course


 /*
 *
 *  Reading user input, Print received data from Serial Monitor
 * Arduino code demonstrating Serial Monitor 
 * S01-05-2

 * Serial Monitor -2 
  * Video instruction for this code: https://youtu.be/WyWRGoACWFs
* This code is part of Ardunio Course 
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
 * http://robojax.com
 * Written on Feb 17, 2019 
 */
void setup() {
        Serial.begin(9600);     // opens serial port, sets data rate to 9600 bps
}

void loop() {

        // send data only when you receive data:
        if (Serial.available() > 0) {
                Serial.println(  Serial.read()   );
        }
}

   

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.