This is the code repository for Mastering Arduino, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
Mastering Arduino is a practical, no-nonsense guide teaching you the electronics and programming skills that you need to create advanced Arduino projects. It is packed full of real-world projects leading up to the final project where you will build and control a basic robot.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter 9.
The code will look like the following:
#define BUTTON_ONE 12
#define LED_ONE 11
void setup() {
pinMode(BUTTON_ONE, INPUT);
pinMode(LED_ONE, OUTPUT);
}