In this lesson, we'll consider buttons as objects, create a class for them.
Category Archives: Arduino lessons
Lesson 6. Treating button’s contacts bounce. Interface of communication between program blocks.
In this lesson we will learn how to handle the button signal to eliminate switch bounce.
Lesson 5. The first program. I/O control functions. Button and LED.
In this lesson we will write the first program, learn how to read the value of digital inputs and set the state of the outputs. We realize control of such simple elements as a button and an LED.
Lesson 4. Programming basics of Arduino in C.
This lesson provides the minimum knowledge necessary for programming Arduino systems in C language. You can only view it and use it as reference information in the future. Those who have programmed on C in other systems can skip the article.
Lesson 3. Installing the Arduino IDE software, connecting the board to the computer.
The lesson describes how to install the software to work with the Arduino system under Windows 7, how to connect the board to the computer and download the first program.
Lesson 2. Arduino UNO R3 board. Description, characteristics.
The article tells about Arduino UNO R3 controller, chosen for demonstration of lessons programs. Now it is not necessary to carefully study this information. I recommend that you skim it over to get an idea about the hardware of the system. In the future, this article can be used as reference information.
Lesson 1. Introduction. General information about Arduino.
As a professional microcontroller programmer, I do not think Arduino controllers are a good element for developing complex systems. But I quite appreciated the simplicity of developing projects in this system, the simplicity of learning, writing programs, the convenience of using ready-made hardware modules.