Now, here is the thing, we're going to create our voidable.
But it's going to be empty because what I'm doing now is not actually concerned with the void loop,
but rather with two different other functions that will be running by multi threading, which are the
lady blink here.
And, well, we need to rename this to, let's say, cereal desk cereal.
These are the two functions I'm going to be creating right now.
So the way to do this is actually by copying the first name.
It's going to be a void function like this.
And this is the blink great, so I'm just going to do the regular thing I do with Blink, which is digital.
Raised.
What am I going to digital right here in My Lady PIN, which is Blink Leidy?
And I'm going to write, I know you might say, OK, now we can use delay warning, never use delay
in these situations when you're working with interrupts, when you are working with Arktos, multithreaded
delay.
As I said, it holds your whole microcontroller.
This is something you never want to fall into when you are doing this.
Advanced programming concepts.
So what should we do in this situation?
I'm telling you, hey, you never use this.
We are going to use something called the V task delay.
So we're going to type V task delay.
Let us delay for two hundred milliseconds now.
There is something you need to know here.
Switching between tasks happens every 15 milliseconds.
So the delay here could be a multiple of 15 all the time.
So this 200 will be approximated to the closest value of 15 multiples.
OK, so this will be approximated to one hundred ninety five milliseconds.
So it's not exactly 200 hundred.
I'm telling you this because if you have some very precise delay, that is up to the 15 milliseconds,
well, multithreaded need more adjustment in order to satisfy your needs.
But for this very simple task, this would go perfectly fine.
Now, I'm going to copy this and I'm going to repeat the thing here.
I'm going to write low.
OK.
I still think that this is like a very small number.
How about we delay for 800 milliseconds?
So that we can observe this a little bit easier.
All right, so this is basically my first task.
I have nothing else to do now.
I just need to get my second desk.
It's going to be Voit.
I'm going to copy the exact name I have chosen, which is the desk serial.
Now, let me start writing this, though, what I'm going to do here is just I'm going to say serial
friend Len, I'm going to say here, blinking is happening as a multi.
OK.
This is the message I'm going to be printing.
And I'm going to delay with the task delay.
For around 800 milliseconds as well.
OK, that we will verify this.
And Jordan.