Many times printing over the serial port is used to direct the Arduino or to help debug code.
Please review the following:
Many times printing over the serial port is used to direct the Arduino or to help debug code.
Please review the following:
Please gather the required components and follow along with the use of the serial port.
Prompts
Explain the meaning: Serial.begin(9600);
Discuss baud rate
Explain how to include a string of text on your serial monitor
Make sure to play around with blank spaces when you print strings so that your output is neat and readable.
Please develop and submit a presentation demonstrating your understanding of the serial print monitor.
In this lesson, we will learn more about working with strings. A string is literally a string or sequence of characters. The word “Hello” is a string of characters. Stings allow your computer program to interact with the world in a way that the world understands, so it is important for us to learn a little more about strings.
Please review the material below:
Please get the components needed and follow along with the developing strings
Keep in mind the overall goal is that you can develop code not just copy and paste
Prompts
Explain the importance of strings and how are they differ from "int" variables
Explain the difference between an "int" and a "float"
Please develop and submit a presentation demonstrating your coding skills and your understanding of string variables. Please address the prompts in your presentation.
In certain situations, you'll need to be able to get input from the user without modifying the code. We can do that using the Serial Port. Just like we can print information to the user using the Serial Port, we can also get information from the user using the serial port.
Please review the material below:
Please gather your components and follow along
Prompt
Explain the statement: Now, in order to get input from the user, you need to do three things:
How do we code "prompt the user for the input"
How do we code "wait for the user to enter the input"
How do we code "read the information from the serial port"
Please develop and submit a presentation demonstrating your coding skills and your understanding of using information from an outside source.