Or if we didn’t employ the comma, how would we convey a dramatic pause to the reader?Īnd let me tell you, if you ever had an English teacher with an overactive red pen, the compiler is ten times worse. Say for example we didn’t use periods when we wrote – everyone would have a heck of a time trying to figure out when sentences started and ended. Why be concerned with a semicolon you ask? A semicolon is part of the Arduino language syntax, the rules that govern how the code is written. The error message is meant to help you identify what you might have done wrong – sometimes the message is very explicit, like saying, “Hey – you forget a semicolon”, sometimes the error message is vague. If you have errors in your computer code, the compiler will display an error message at the bottom of the IDE and highlight the line of code that seems to be the issue. The process of compiling is seamless to the user. Part of the job of the IDE is to take the human readable code and translate it into machine-readable code to be executed by the Arduino. The code you write is “human readable”, that is, it will make sense to you (sometimes), and will be organized for a human to follow. If you like this tutorial, click here to check out FREE Video Arduino course – thousands of people have really enjoyed it. The code you learn to write for Arduino will be very similar to the code you write in any other computer language – all the basic concepts remain the same – it is just a matter of learning a new dialect should you pursue other programming languages. The coding language that Arduino uses is very much like C++ (“see plus plus”), which is a common language in the world of computing. When you save a file in Arduino, the file is called a sketch – a sketch is where you save the computer code you have written. It is intentionally streamlined to keep things as simple and straightforward as possible. When you open the Arduino program, you are opening the IDE. The IDE is a text editor-like program that allows you to write Arduino code. Pretty fancy sounding, and should make you feel smart any time you use it. As you learned in Module 01, IDE stands for Integrated Development Environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |