1
00:00:00,390 --> 00:00:06,000
It's just how we generate the feeding effect on an alien, so initialization process to mean similar

2
00:00:06,000 --> 00:00:08,070
to what we do in a previous case.

3
00:00:08,310 --> 00:00:10,080
So we called and timeout any function.

4
00:00:10,380 --> 00:00:16,500
Now here we request two variable, one variable, which will be keeping a track of the process where

5
00:00:16,500 --> 00:00:19,470
we are going from low intensity to high intensity.

6
00:00:20,010 --> 00:00:25,830
And then the other variable, which will be keeping a track of the process when we are going from high

7
00:00:25,830 --> 00:00:27,450
intensity to low intensity rate.

8
00:00:27,460 --> 00:00:34,050
So we have bound up, which will keep a track of the values when we go from low intensity to high and

9
00:00:34,050 --> 00:00:39,540
toned down, which will be helping us to go from high intensity to low intensity rate end up there.

10
00:00:39,540 --> 00:00:40,790
It is a guy.

11
00:00:40,830 --> 00:00:46,670
We have chosen a work rate because to disable our timer, then the process of generation of about Rachel

12
00:00:47,400 --> 00:00:50,700
when we consider going up from low intensity to high intensity.

13
00:00:50,700 --> 00:00:55,960
So we should be implementing an accountant right to the max value is when we re just to update it right.

14
00:00:55,980 --> 00:00:57,720
So the initial value of count up at zero.

15
00:00:58,170 --> 00:01:03,200
So we are checking with a account of equals to the period on our say.

16
00:01:03,210 --> 00:01:04,150
That is the case.

17
00:01:04,380 --> 00:01:06,850
If you count up is not equal to a period.

18
00:01:07,140 --> 00:01:11,340
What we are doing is we are increment encounter with this step right now.

19
00:01:11,350 --> 00:01:14,580
There's that low step as compared to our previous scenario.

20
00:01:14,590 --> 00:01:19,270
So this will help us to get the smoothing density variation on hourly rate.

21
00:01:19,830 --> 00:01:25,410
And as we reach to this point, we'll give you a not initializing counter back to as we are waiting

22
00:01:25,410 --> 00:01:27,460
for an entire down process to complete.

23
00:01:27,460 --> 00:01:29,840
That is from the highest intensity.

24
00:01:29,850 --> 00:01:33,180
Again, we are going in a small step to the lower intensity, right?

25
00:01:33,180 --> 00:01:40,560
So l l to basically represent that b from the zero intensity reach to a maximum intensity date, and

26
00:01:40,560 --> 00:01:43,110
then we are checking where the countdown is equal.

27
00:01:43,350 --> 00:01:45,110
Is Nordquist Jose, right?

28
00:01:45,150 --> 00:01:50,790
So that basically mean and we are going in a downward direction rate and count down, you could clearly

29
00:01:50,790 --> 00:01:52,590
see we initialize it to a period.

30
00:01:53,100 --> 00:01:55,120
So this basically is not true.

31
00:01:55,140 --> 00:01:57,870
So what will happen is we will be discriminating again.

32
00:01:58,120 --> 00:02:01,650
No, in this rate similar to what we did in the count up, right?

33
00:02:01,890 --> 00:02:04,830
So we will be seeing the smoothing entity in the download that each.

34
00:02:04,830 --> 00:02:07,050
And so this will continue until we reached zero.

35
00:02:07,350 --> 00:02:12,700
And as soon as we reached zero, we are again initializing count up and come down to the initial and

36
00:02:12,720 --> 00:02:17,240
the discount of back to zero and then come down back to the rate.

37
00:02:17,270 --> 00:02:22,460
So this help us to continuously read the triangular waveform onto daily.

38
00:02:22,500 --> 00:02:29,430
Right now, the next thing is to correctly choose the variable that should be configured as a high value

39
00:02:29,430 --> 00:02:32,810
when we are in a specific region, right?

40
00:02:33,120 --> 00:02:39,810
So if count is not equal to a period that basically mean, OK, we are in a direction because as soon

41
00:02:39,810 --> 00:02:47,160
as we reach two, this LS block, right, that basically mean our counter is equal to the P right.

42
00:02:47,460 --> 00:02:52,980
So and that musically mean that we completed our entire span of going up, right?

43
00:02:53,400 --> 00:02:59,910
So whenever ground up is not equal to a PDA, in that case, we need to configure our high value with

44
00:02:59,910 --> 00:03:00,890
counter variable rate.

45
00:03:00,930 --> 00:03:01,890
That is what we are doing.

46
00:03:01,890 --> 00:03:04,590
So x dmi bw um configured.

47
00:03:04,590 --> 00:03:09,510
We are calling the incident structure the period, which remain same for both the case.

48
00:03:09,510 --> 00:03:13,650
But here the variable will be count up and the basically mean that.

49
00:03:14,790 --> 00:03:19,830
Ground up is equal to the period, OK, and whenever count up is equal stupidity, we are basically

50
00:03:19,830 --> 00:03:24,810
in this state right where we want to set the high value to be was to count them.

51
00:03:25,020 --> 00:03:26,570
And that is what we do here.

52
00:03:26,640 --> 00:03:30,240
Right to us configuration is that we are calling P.W. and enable.

53
00:03:30,330 --> 00:03:35,120
And then you are waiting for a timer to expire and then we have added a small deal.

54
00:03:35,190 --> 00:03:40,570
So this small delay is just to have enough time so that lady will be turning right.

55
00:03:41,910 --> 00:03:44,080
And this represented delay of 30 milliseconds.

56
00:03:44,100 --> 00:03:44,370
Right?

57
00:03:44,880 --> 00:03:48,450
So this is what you need to add in your call.

58
00:03:48,740 --> 00:03:50,210
You can be defending it, right?

59
00:03:50,220 --> 00:03:53,430
So what we're going to do is we'll just be building up our project.

60
00:03:55,100 --> 00:04:01,280
So once Bill is successful, will select an application project, DBA gets launched on hard right.

61
00:04:01,970 --> 00:04:08,090
So again, we go to the is dominant here will be connecting Serial Terminal to operate at the board

62
00:04:08,090 --> 00:04:09,140
of nine six zero zero.

63
00:04:09,140 --> 00:04:10,220
Again, the will remain.

64
00:04:10,700 --> 00:04:12,560
You just call on six again.

65
00:04:12,560 --> 00:04:15,910
Will be executing ruled on in Fiji, right?

66
00:04:16,340 --> 00:04:17,930
So that's just successful.

67
00:04:17,990 --> 00:04:25,910
So our timer is correctly operating and you could actually observe the feeding effect on an air vehicle

68
00:04:25,910 --> 00:04:33,680
from lower intensity to higher intensity and from higher intensity back to the lower intensity.
