WEBVTT

00:00.110 --> 00:02.540
And here is yet another activity.

00:02.540 --> 00:07.970
And we are just a few steps before the final project In this activity.

00:07.970 --> 00:10.490
We are going to work with the Raspberry Pi camera.

00:10.490 --> 00:14.900
So you are going to take a photo with the Raspberry Pi camera every two seconds.

00:14.930 --> 00:15.590
Okay.

00:15.590 --> 00:19.490
And put Non-blocking because you're not going to use Time.sleep two.

00:19.520 --> 00:24.410
You're going to use a non-blocking way to take the photo every two seconds like we did before.

00:24.410 --> 00:30.200
And then the goal is to send this photo on Telegram when you have some condition that is triggered so

00:30.200 --> 00:33.410
you could receive a button pressed message from the Arduino.

00:33.410 --> 00:37.760
So on the Arduino, you're going to read from the push button and just send button pressed.

00:37.760 --> 00:39.770
So we already did that before.

00:39.770 --> 00:45.170
And also, if you receive a get photo command from Telegram, you send the photo.

00:45.170 --> 00:51.950
So basically this is a way to keep taking photos and just send the photo to Telegram when you request

00:51.950 --> 00:52.280
it.

00:52.280 --> 00:55.970
So when you request the photo, you get the latest photo.

00:56.090 --> 00:56.420
All right.

00:56.420 --> 00:59.360
And I will see you in the next lesson for the solution.
