keyestudio
{
state++;
}
//////////////////////////////////////////////////////////
Result
Touch the sensor with your hand, the D13 indicator light on Arduino will be on for 3 seconds and
then be out.
*******************************************************************************
Project 21: Sound-control light
Introduction
In this experiment, we use sound passing through MIC to control the on and off of the light.
Hardware required
Potentiometer module *1
Red M5 LED *1
220Ω resistor *2
Breadboard *1
Breadboard jumper wires *several
MIC *1
Schematic diagram
www.keyestudio.cc
88
Need help?
Do you have a question about the ARDUINO maker learning kit and is the answer not in the manual?