- Learning C for Arduino
- Syed Omar Faruk Towaha
- 363字
- 2021-07-09 19:10:00
Chapter 1. Getting Started
Since you have picked this book, this means you want to learn both about programming and electronics, especially microcontrollers. The book is designed to enable you to learn C programming easily and implement the language with an Arduino. I would suggest you do every code of the book by yourself and run them on the Arduino IDE. Microcontroller programming was hard before, but since the innovation of Arduino and the use of C programming on the Arduino board, microcontroller programming has become easy and fun.
Before going any further, let's understand the programming language C better. You may wonder why C programming is called C.
Well, before the creation of C, there was its predecessor programming language, called B. So, you should be able to guess from this where the name came from. The B language was developed by Ken Thompson at Bell Labs. At the same lab, the C language was developed in 1972 by Dennis Ritchie. The main purpose of creating this language was to design a UNIX operating system. Ken Thomson and Dennis Ritchie were the main developers of the UNIX operating system, so Dennis developed C to design UNIX.
C is not just a powerful language but a flexible one too. It is a portable language, because we can write a C program on one computer and compile to another with almost no modification.
To compile the source code of C, we need to have an IDE installed to our computers. Throughout this book we will learn C programming using the Arduino IDE. We will also be introduced to the Arduino IDE, its installation process, and how we can run our very first C program using an Arduino and the Arduino IDE.
Note
IDE stands for Integrated Development Environment. IDEs are used for software development. An IDE usually consists of an editor (where we can type code and comments), and a few tools along with a debugger (which is used to test the code to see if it has any errors). Most IDEs have a built in compiler (which converts source code/programming language into machine language).
Let's get introduced to an Arduino now.
- 3D Printing with RepRap Cookbook
- Managing Mission:Critical Domains and DNS
- Excel 2007函數與公式自學寶典
- Hands-On Machine Learning on Google Cloud Platform
- 電腦上網直通車
- JMAG電機電磁仿真分析與實例解析
- 空間傳感器網絡復雜區域智能監測技術
- 可編程序控制器應用實訓(三菱機型)
- 網絡化分布式系統預測控制
- Ruby on Rails敏捷開發最佳實踐
- 邊緣智能:關鍵技術與落地實踐
- 精通數據科學:從線性回歸到深度學習
- 在實戰中成長:C++開發之路
- 未來學徒:讀懂人工智能飛馳時代
- 深度學習原理與 TensorFlow實踐