In lesson 18 you learned how to read integers or floating point numbers into the Arduino from the Serial Monitor. It is also very helpful to be able to read Strings, or words from the Serial Monitor. In this video we show you the ins and outs of reading Strings into the Arduino.
If you want to follow along at home, you can order the Arduino Kit we are using HERE.
In many projects, it is very useful to get input from users. You need to be able to prompt the user for input, and then input that information into the Arduino. In most cases, users will not know how to program, so you need to have an easy way to interact with them. In earlier lessons, we showed how you can send messages or information from the Arduino using the Serial Monitor. In today’s lesson, we show you how to read input from the user through the Serial Monitor.
If you want to follow along at home, you can order the Arduino Kit we are using HERE.
In the last two lessons you have learned the ins and outs of programming with For Loops. There are similar loops called While Loops. In this video we show you how to program using While Loops. Anything that can be done with a For Loop can also be done with a While Loop. Which one you use is just a matter of preference. For me, I often times would prefer to use While Loops. If you want to follow along at home, you can order the Arduino Kit we are using HERE.
If you want to follow along at home, you can order the Arduino Kit we are using HERE.
In lesson 16, you were introduced to Arduino For Loops. In this lesson we show you more advanced techniques that can be used with For Loops. It is possible to do a wide array of different parameters with this command. We will demonstrate some of the interesting ways these commands can be used.
So far, we have been just using the Arduino Void Loop, which basically loops forever. In this lesson you will learn how to create For Loops, which will allow you to control the conditions of the Loop. This is a very powerful programming technique, and it will allow you to take your projects to more advanced levels. If you want to follow along at home, you can order the Arduino Kit we are using HERE.
Making The World a Better Place One High Tech Project at a Time. Enjoy!