WEBVTT

00:00.080 --> 00:04.550
In this section, we have three additional activities for you to practice.

00:04.550 --> 00:10.310
Everything you've seen so far Python and also Gpio programming with the LED and the push button.

00:10.310 --> 00:15.950
We are also going to add two new LEDs to the circuit in this section, and I will show you additional

00:15.950 --> 00:21.140
tips on how to make your Python programs work even better for your future projects.

00:21.140 --> 00:23.480
So make sure you don't skip this section.

00:23.480 --> 00:26.390
And let's start with the activity number five.

00:26.390 --> 00:29.930
For this course, we will start with something quite simple here.

00:29.930 --> 00:31.940
So here is the challenge.

00:31.940 --> 00:36.290
You will need to power on the LED when the button is pressed.

00:36.320 --> 00:37.820
Okay so as simple as that.

00:37.820 --> 00:40.850
If the button is pressed the LED is powered on.

00:40.850 --> 00:45.170
If the button is not pressed, the LED is powered off.

00:45.170 --> 00:47.690
And you can see the result on that video.

00:47.690 --> 00:50.330
When I press the button, the LED is turned on.

00:50.330 --> 00:53.600
When I release the button, the LED is turned off.

00:53.600 --> 00:59.090
So with all the code that we have done so far, you should be able to do that and I will see you in

00:59.090 --> 01:01.130
the next video for the solution.
