Today I just show you a running light show using an image.
In this case, I'm just using my Rio Digital pins of port number A, as you see in the hardware.
I just connected using jumper wires.
These are my upper one is my digital pins.
And over here, this black one is my ground and I just create these LEDs.
I just connected these eight LEDs on board on a zero PCB, as you see right now.
I just go to my software part.
You just need to connect the digital pins to the positive pin of Led.
And this is my common ground for all the LEDs.
So right now I just go to my Rio.
In this case, I just need to select digital out pin, as you see over here.
There are two options.
You just go with the Express.
In this case, let's check if you just select a particular single.
Right now, the my all the eight pins digital pins are connected to 032 ten.
As you see, this is my first ID I just select over here.
Press.
Okay.
It is up to you right now.
I just show you two methods.
In this particular case, as you see right now, this is creating for me four digital pin three.
I just create a connection for this particular V, I create a control loop while loop over here to control
this continuously generating the signal, save it, run it, deploy it.
As you see, the code is right now deploying deployment in process when it is completely deployed.
When I just click on this button, as you see, Led goes high.
Okay, on, off, on, off.
This is how you can generate digital signal.
Right now I just show you different methods.
First I show you.
In this case, you just need to copy this multiple times.
One.
Because in this case I just connected eight LEDs and you just need to set the PIN number.
Also, as you see over here, I just need to pin number four for it.
I just show you again.
Control.
Be over here.
Just connect it again.
Just save it.
Run it.
So in this case, I just control two LEDs.
So right now, as you see, Green one is also high off or when just on it, it is turned on.
So now I just stop it.
I just make multiple copies.
Just lock it.
Based allowed.
I need eight digital pins over here.
Okay, so.
I just need to set the pin number also because the three four already use right now.
Five is there because on the hardware it is also connected.
Now, just make a copy of it.
Make a copy of it.
I need to just set the pin number once for digital pins.
Are there now?
Five is there.
I just need to set the pin number.
Just go inside this.
Over here.
You just need to set the pin number that is six digital input output six.
It is set.
Now I just need to do this task for all the Express VI that are available over here.
Then just go for the seventh pin.
Press.
Okay.
PIN number eight.
You can check the pin diagram over the Internet of Mario.
Now PIN number nine.
And last is my PIN number ten.
In this case, I just use digital pin three or pin number 17 of analog port A, not analog port A of
my Rio.
This is my last pin pin number ten.
Best.
Okay.
All the digital pins are configured right now.
I need to just set the controls for it.
So pin number two.
Three.
Four.
Five.
Six.
Seven and last is my eight.
Okay, so over here, I got all the pins.
Rearrange it.
So this is my pin number three.
This is my pin number eight.
Just connect it.
PIN number seven.
PIN number six.
PIN number five.
This is the case when you just manually control your all the LEDs.
Right now I'm just generating eight digital signals.
So just save it.
Deploy the code to the myriad.
As you see.
Deployment in progress.
Then turn on first.
As you see, second, third, fourth, fifth, sixth, seventh, eighth.
All are working as you see right now.
Maybe one led is connections are not right.
So this is how you can generate eight digital signals for particular Led.
If you want to go through a single.
This is the one way you can configure eight digital pins.
I just tell you another way.
So you just go to an again in the my Rio.
This is the simplest way I just use earlier.
Right now I just show you the another method.
In this case, you just need to select multiple pins in the single.
Express.
Okay.
So over here, as you see right now, Digital PIN three.
Selected Digital PIN four.
Selected.
Digital PIN five Selected.
Six.
Selected.
Seven.
Selected eight Selected.
Nine Selected.
Ten selected.
Okay, so this is the another way you just press.
Okay?
In this case, you need multiple signals using single expression.
You just need to create control over here.
Right now I just create a single button and using this single button, I want to control all the LEDs.
Let's check.
Control be.
I want to control all the LEDs using this single button only.
Control.
S save it.
This is the easy method.
In this case, you just need to deploy this.
Run it.
As you see deployment done.
Turn on all the LEDs.
Turn on off, on, off, on.
Maybe the one Led is not working because the ground is not properly connected with this.
I just.
Let's check.
So as you see right now, it is working properly, working.
All the LEDs are running.
So this is how you can control all the LEDs.
Now just create a project running light project.
Let's check first.
In this case, I just add shift registers.
In the shift registers, initially, I just make it true.
Let's say after some time I just make it false
and I just put a control over here.
I just need to control the running speed.
And in this place, I just put a knob.
I want to just replace this using a knob.
And the milliseconds delay is there and the maximum is, let's say one second.
DeLay is there.
Okay, so over here for the running light, I just connect this one over here.
Second one over here.
Third one over here.
Fourth one over here.
Fifth one over here.
Sixth one.
Or you can say one is true.
Another is false, one is true, another is false.
Likewise, I just connect it, minimize it, run it, deploy it before deploying.
It is asking me to save the.
Let's check what happened.
All are in running mode.
As you see.
Speed running.
Speed.
Am changing.
500, 600, one second delay is there red and green?
Somewhat.
Right now, speed.
You just check.
Feed.
Right now.
This is how you can generate digital signals for your applications using express with the help of Express
VI in my video.
Thank you.