ArduiUno Programming: Programmable Circuit Boards and Coding Program of Your Choice to Run on Your Computer (ArduiUno Programming - beginner and advanced Book 1) by Eckert Steve M

ArduiUno Programming: Programmable Circuit Boards and Coding Program of Your Choice to Run on Your Computer (ArduiUno Programming - beginner and advanced Book 1) by Eckert Steve M

Author:Eckert, Steve M. [Eckert, Steve M.]
Language: eng
Format: epub
Published: 2020-04-07T16:00:00+00:00


CHAPTER FIVE: THE PROGRAMMING LANGUAGES AND ARDUINO PROGRAMMING LANGUAGE

If you have a little knowledge of software, you would probably have heard of programming languages. You would have heard a person say: “I am a programmer” or “he is a programmer” you would have also heard things like: “I want to write code.” When you hear stuff like that, you will know that they are talking about programming. So, the question now is: what is this programming everyone is talking about? This section of the book will answer this question for you. It will not just answer the question of what programming is, it will also tell you what programming languages are, and what programming language was used for Arduino. So, sit back, relax, and let us begin.

Programming: what is it?

Well, the simplest definition or description of programming is that it is a way to instruct the computer to do different tasks. Well, this may sound shallow in the beginning, because you may say to yourself: “but plotting a graph with a computer is an instruction?” Well, technically yes, but let us pick out the definition term by term.

First of all, programming is an instruction to the computer. What this means is that you provide the computer with some sets of instructions, but these instructions are written in a language that the computer can understand. This is called syntax (we will talk about syntax and the Arduino syntax later on). Now, these instructions can come in various types: it could be the addition of two or more numbers, it could be rounding a number up or down. Now, just as we humans have different languages such as English, French, German, Italian, Spanish, Portuguese, Swahili, Afrikaans, Mandarin, etc. the computer also has its own language which it understands if you s. Now, the beauty of the computer is that you do not have to teach it a new language (well technically you don’t, but you have to install the software for the language though) the way you would teach a human being. The computer can work with any language you give to it.

Secondly, the computer does different tasks. Now, the computer does different tasks from the instructions given to it. These tasks range from simple ones like adding different numbers, rounding a number up or down, to complex ones that would require a series of instructions in a particular sequence. These more complex ones could be stuff like calculating simple interest when you have been provided with principal, time and rate. It could be tasks like calculating compound interest or the return on tax. These tasks require a series of steps and they are more complicated than just adding two numbers, so these instructions cannot be expressed in the same way you expressed the addition of two or more numbers. What this explanation drives at is that programming is a way to give computers instructions to do a particular task. It should not be mistaken for other activities which involve providing an input to the computer and expecting an output.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.