WEBVTT

00:00.270 --> 00:06.740
To be able to fully control an energy, you need first to understand how to use digital beings on Arduino,

00:07.350 --> 00:13.320
so on the outer all that, you have two kinds of pains to control the hardware components, digital

00:13.320 --> 00:17.160
things here in orange and analog in green.

00:17.760 --> 00:23.960
In this section, we are going to focus only on digital themes and we will see another piece after that.

00:24.300 --> 00:28.260
On the other, you have 14 digital things.

00:28.410 --> 00:36.120
As you can see here, the teens are represented by a number from zero to 13 on different out in the

00:36.120 --> 00:38.600
world, like adeno nano omnia.

00:38.910 --> 00:45.630
You may have a different layout for things or even a different amount of digital things, but if you

00:45.630 --> 00:51.840
understand how digital things are working with this Arduino example, then it will be very easy for

00:51.840 --> 00:54.240
you to work with any of the in the world.

00:55.020 --> 01:02.130
So a digital thing can be used either to activate a component such as an entity like we did before,

01:02.340 --> 01:09.590
or to read from a sensor, for example, a push button, know how to work with digital things.

01:09.840 --> 01:14.460
Well, the first thing you need to do is to set a mode for the PIN.

01:14.790 --> 01:22.530
You can choose either input output mode in this lesson, because we are working with an entity, we

01:22.530 --> 01:25.050
would only focus on the output mode.

01:25.530 --> 01:32.490
And then once the PIN is set as an output pin, you can change its state so that you have two options,

01:32.820 --> 01:34.010
high or low.

01:34.320 --> 01:36.450
This is a binary state.

01:36.720 --> 01:44.930
I mean that the output will be fold because that is what the Audi delivers and zero means zero.

01:45.690 --> 01:52.110
So if you put an entity on digital bean and said to Penn State to high, the entity will be powered

01:52.110 --> 01:52.410
on.

01:53.010 --> 01:57.580
Then if you set the stage to load, the energy will simply be full of.
