1
00:00:07,760 --> 00:00:08,210
Hello.

2
00:00:08,300 --> 00:00:15,030
In this video, we are going to learn how to increase a value in dollar salt.

3
00:00:15,150 --> 00:00:20,660
And how could how to decrease this value with the increment and decrement buttons.

4
00:00:21,040 --> 00:00:21,400
Okay.

5
00:00:21,800 --> 00:00:26,210
I will create one display numeric display and put to here.

6
00:00:26,640 --> 00:00:29,020
And let's change it to standard.

7
00:00:29,270 --> 00:00:29,650
Okay.

8
00:00:30,020 --> 00:00:32,630
And background can be white.

9
00:00:32,900 --> 00:00:33,560
Doesn't matter.

10
00:00:34,040 --> 00:00:35,660
And then we need to.

11
00:00:36,950 --> 00:00:37,640
Include.

12
00:00:38,940 --> 00:00:39,790
Increment button.

13
00:00:39,900 --> 00:00:45,870
This is our increment button, and it will increase or decrease one by one.

14
00:00:46,200 --> 00:00:47,070
And I will.

15
00:00:49,160 --> 00:00:50,990
ET tu here, degremont button.

16
00:00:51,460 --> 00:00:53,840
OK, so we vote.

17
00:00:55,180 --> 00:00:56,800
Eight plus sign to here.

18
00:00:57,280 --> 00:00:59,530
All we can say, picture bank.

19
00:00:59,770 --> 00:01:06,190
We can import a picture to this button and we can put your plus side with the picture.

20
00:01:06,430 --> 00:01:08,530
But for a moment, it doesn't matter.

21
00:01:08,840 --> 00:01:13,180
And this will be minus and this can be also 32.

22
00:01:13,540 --> 00:01:18,970
And let's change the color to green and change color to red.

23
00:01:19,510 --> 00:01:27,030
And then what we have, we need to define a device, word, data type so we can say 1850.

24
00:01:27,580 --> 00:01:31,210
And I will increase the 51 year.

25
00:01:33,060 --> 00:01:36,940
And I will decrease the 50, will you also?

26
00:01:37,850 --> 00:01:39,180
We will check it now.

27
00:01:39,890 --> 00:01:41,330
This is incremental button.

28
00:01:41,390 --> 00:01:42,800
And this is DiClemente Button.

29
00:01:43,480 --> 00:01:45,170
Let's take a look once.

30
00:01:45,260 --> 00:01:46,490
Is it working or not?

31
00:01:46,820 --> 00:01:49,230
So you can see it each time.

32
00:01:49,280 --> 00:01:56,630
When I press to this increment button, it's increasing and decrement button it is going down.

33
00:01:56,900 --> 00:01:57,980
So it's working.

34
00:01:58,430 --> 00:02:02,030
And then what can we do with the increment button?

35
00:02:02,120 --> 00:02:03,320
With the Degremont button?

36
00:02:03,590 --> 00:02:06,510
We can increase or decrease it.

37
00:02:07,040 --> 00:02:09,910
Any data registers will look with the tops of.

38
00:02:10,220 --> 00:02:13,670
And also we can say set constant.

39
00:02:14,150 --> 00:02:16,580
So this is how it is working.

40
00:02:16,820 --> 00:02:17,930
So we will.

41
00:02:19,120 --> 00:02:23,320
Set a constant to inside of the data register.

42
00:02:23,630 --> 00:02:24,890
So what can we do?

43
00:02:25,130 --> 00:02:26,900
Let's take a look in here.

44
00:02:27,140 --> 00:02:27,430
Right.

45
00:02:27,440 --> 00:02:28,400
Address is what?

46
00:02:28,680 --> 00:02:30,400
Look, the 50.

47
00:02:30,920 --> 00:02:31,450
That's OK.

48
00:02:31,700 --> 00:02:38,770
So we will set a constant to that and we can change the foreground color of it.

49
00:02:39,790 --> 00:02:42,280
For example, we can say green also.

50
00:02:43,730 --> 00:02:44,370
This is okay.

51
00:02:45,620 --> 00:02:47,240
Because they said.

52
00:02:49,800 --> 00:02:50,360
Constant.

53
00:02:51,010 --> 00:02:52,420
OK, very good.

54
00:02:52,900 --> 00:02:57,040
And then we can activate again our simulator.

55
00:02:57,670 --> 00:02:59,400
So this is five.

56
00:02:59,650 --> 00:03:01,900
So you see it's zero again.

57
00:03:02,350 --> 00:03:04,060
So you see zero.

58
00:03:04,360 --> 00:03:10,360
So what we are doing, we are writing a value to these data registers.

59
00:03:11,080 --> 00:03:12,350
You can see it's zero.

60
00:03:12,640 --> 00:03:14,700
So which value that we can write?

61
00:03:14,980 --> 00:03:16,150
We can take a look once.

62
00:03:16,390 --> 00:03:18,010
So detail is zero.

63
00:03:18,520 --> 00:03:20,240
We can change it to 25.

64
00:03:20,290 --> 00:03:24,610
For example, when I press this said constant button, I will.

65
00:03:25,300 --> 00:03:27,220
I want to put here twenty five.

66
00:03:27,610 --> 00:03:29,040
So you see it's 25.

67
00:03:29,140 --> 00:03:33,310
Now increase again 25 degrees.

68
00:03:33,470 --> 00:03:35,030
And again, 25.

69
00:03:35,410 --> 00:03:43,510
So we can increase or decrease data registered value with this increment and decrement buttons.

70
00:03:43,900 --> 00:03:52,900
And also we can set a constant with, for example, fixed volume that we can put here 25 or 100, whatever

71
00:03:52,900 --> 00:03:53,330
you want.

72
00:03:53,350 --> 00:03:54,010
Or zero.

73
00:03:54,340 --> 00:04:01,780
And then we can write this value to this data register or this data area directly.

74
00:04:02,020 --> 00:04:03,940
So I finished for this video.

75
00:04:04,210 --> 00:04:05,800
See you in the next video.
