Hello.
In this video, we are going to learn how to increase a value in dollar salt.
And how could how to decrease this value with the increment and decrement buttons.
Okay.
I will create one display numeric display and put to here.
And let's change it to standard.
Okay.
And background can be white.
Doesn't matter.
And then we need to.
Include.
Increment button.
This is our increment button, and it will increase or decrease one by one.
And I will.
ET tu here, degremont button.
OK, so we vote.
Eight plus sign to here.
All we can say, picture bank.
We can import a picture to this button and we can put your plus side with the picture.
But for a moment, it doesn't matter.
And this will be minus and this can be also 32.
And let's change the color to green and change color to red.
And then what we have, we need to define a device, word, data type so we can say 1850.
And I will increase the 51 year.
And I will decrease the 50, will you also?
We will check it now.
This is incremental button.
And this is DiClemente Button.
Let's take a look once.
Is it working or not?
So you can see it each time.
When I press to this increment button, it's increasing and decrement button it is going down.
So it's working.
And then what can we do with the increment button?
With the Degremont button?
We can increase or decrease it.
Any data registers will look with the tops of.
And also we can say set constant.
So this is how it is working.
So we will.
Set a constant to inside of the data register.
So what can we do?
Let's take a look in here.
Right.
Address is what?
Look, the 50.
That's OK.
So we will set a constant to that and we can change the foreground color of it.
For example, we can say green also.
This is okay.
Because they said.
Constant.
OK, very good.
And then we can activate again our simulator.
So this is five.
So you see it's zero again.
So you see zero.
So what we are doing, we are writing a value to these data registers.
You can see it's zero.
So which value that we can write?
We can take a look once.
So detail is zero.
We can change it to 25.
For example, when I press this said constant button, I will.
I want to put here twenty five.
So you see it's 25.
Now increase again 25 degrees.
And again, 25.
So we can increase or decrease data registered value with this increment and decrement buttons.
And also we can set a constant with, for example, fixed volume that we can put here 25 or 100, whatever
you want.
Or zero.
And then we can write this value to this data register or this data area directly.
So I finished for this video.
See you in the next video.