![OPEN-SMART Rich UNO R3 Скачать руководство пользователя страница 19](http://html1.mh-extra.com/html/open-smart/rich-uno-r3/rich-uno-r3_user-manual_1639721019.webp)
OPEN-SMART Email:
- 19 -
Touch TCH1 area with your finger, the buzzer continues to sound.
Touch TCH2 area, the buzzer stops sounding.
5.3 Explain nouns
Each lesson may explain some nouns in this section.
Arduino IDE
: Integrated development environment for Arduino series board, it contains all the
files in arduino-1.6.5-r2 directory. Usually we call the IDE window as IDE.
buzzer
: the buzzer onboard is a simple sounding component, and the sound frequency is fixed.
example
: somebody call it sketch code. It is a program you want to and you can upload to the
board
5.4 Learn the functions
1)
You can find that at the beginning of all lessons code is
#include <Wire.h>
#include <SoftwareSerial.h>
Because the RichUNO library files use Wire.h and SoftwareSerial.h which is not in the RichUNO
directory, if the example code wants to use RichUNO library, it should add those two line.
2)
Other header files
In lesson 1 we use the buzzer and 4-channel touch sensor, so it should include their header files to
control buzzer and touch sensor more easily.
So you should add:
#include "RichUNOTouchSensor.h"
#include "RichUNOBuzzer.h"
3) Define class object
We have defined the buzzer and touch sensor class in the RichUNO library, and at any time you
should define a object before you use it, and some object has parameter.