Great, you can work with the digital and analog pins of your in the world in the following lessons,
you will add more elegance to your secrets and you will practice with a few activities on everything
you have seen before, digital beans and other beans, priming content, etc..
And before we dive in this practice section, here is a quick recap on digital and another beanz.
You can also download a PDF as an additional resource to the schools.
Keep this PDF on the side, which will help you clear any dolloped you may have when you write your
own code for your own project.
So to recap on the audio, we know you get 14 digital teens from number zero to 13.
You also get six beans from the eight zero two eight five on different ideas about the layout and number
of beans may vary.
Now for digital beans, first you need to choose a mode for the bean.
Output means that you will write data to an aggregator and input means that you will read data from
the center.
If you choose outputs, then depending on the bean, you have two choices for all digital beans.
You can simply write a digital data, which means you set a binary state either high or low.
If the pin has a value and functionality, you can either use it with a binary state or you can also
send an analog value from zero to two hundred fifty five.
So that is for the output mode.
For the input mode of a digital pin, you would read a binary state from senseor.
The value you would get will be either high or low, and that's it for digital beats.
For either of these, you can decide to use the pen as an input pin, which is the default mode in order
to read a of data from an analog sensor so that the remote is already selected for you.
No need to set it.
And then in your code, you will read values which are in the range between zero and one thousand twenty
three.
The other option you have for other things is to use them as classic digital pins, but in this case,
don't forget to send a mode first and then use the other as a digital thing.
All right.
That's pretty much it for the recap.
Now let's practice more.