00:01
Hello students, to create an outer plan watch with the given specification, we need to use the software tool capable of designing and programming the desired functionality.
00:10
So the tool should have the ability to create and control 7 segment displays, input switches and perform logical operations.
00:19
So to implement the described features, first create 7 segment displays.
00:27
Use the software tool to design and place 8 segment displays on the led watch.
00:36
You can label them as led1, 2, 3, 4, 5, 6, 7 and 8 from left to right.
00:49
Now mode switching using sw0.
00:56
So as mode switching button, this is the mode switching button.
00:59
You can use its functionality to cycle through different modes.
01:04
You can switch from 1, 2, 3, 4, 5, 6, 7 from different modes.
01:09
You can switch from time and stopwatch.
01:17
So you can control it.
01:18
Now third one is display seconds.
01:25
So during the day, use modulus 3 for seconds.
01:35
Increment the seconds from 0 to 60 in steps of 3, 0, 3, 6, 9.
01:45
When it reaches 60, decrement the minutes by 1.
01:52
And during the night, use modulus 5 for seconds.
01:57
During the day, we can use modulus 3.
02:00
During night, you can use modulus 5.
02:05
So you can go from 0 to 75.
02:08
You can increment seconds from 0 to 75 in steps of 5.
02:13
So that is 0, 5, 10, 15.
02:18
You can do that.
02:19
So when seconds reach 75, decrement the minutes from led4 to led5 by 1.
02:28
Fourth is display minutes.
02:31
This can be, you can display seconds in, display seconds in led5 and 6.
02:42
Okay.
02:43
And you can display minutes in led3 and 4...