SunFounder 3in1 Kit
int delayTime; // no value
delayTime = 500; // value is 500
delayTime = delayTime +200; // value is 700
2.3.8 How to Build the Circuit
Many of the things you use every day are powered by electricity, like the lights in your house and the computer you’re
reading.
To use electricity, you must build an electrical circuit. Basically, a circuit is a path through which electricity flows, or
an electronic circuit, and is made up of electrical devices and components (appliances) that are connected in a certain
way, such as resistors, capacitors, power supplies, and switches.
A circuit is a closed path in which electrons move to create an electric current. To flow current, there must be a
conducting path between the positive terminal of the power supply and the negative terminal, which is called a closed
circuit (if it is broken, it is called an open circuit.) .
The Arduino Board has some power output pins (positive) and some ground pins (negative). You can use these pins as
the positive and negative sides of the power supply by plugging the power source into the board.
76 Chapter 2. Get Started with Arduino