1
00:00:00,900 --> 00:00:06,630
And as I said earlier, the script that there was this mini project is a combination of scripts that

2
00:00:06,630 --> 00:00:14,190
you have seen earlier, in particular in Section eight and in Section nine, where you learn how to

3
00:00:14,190 --> 00:00:23,970
use the display with the ice see backpack and the BMY 280 cents in this lecture, just combining those

4
00:00:24,090 --> 00:00:25,830
scripts together.

5
00:00:26,190 --> 00:00:28,780
So there's nothing new really here other than the combination.

6
00:00:29,070 --> 00:00:35,070
So having a look at the head of the script right here, you see that we have a few dependencies, the

7
00:00:35,070 --> 00:00:44,910
external ones, meaning those dependencies on modules that are not part of the micro python firmware

8
00:00:45,240 --> 00:00:55,310
and language here, the ESP eight two six six on the ice, which see LCD as one file, which I throw

9
00:00:55,350 --> 00:00:57,070
that on the market.

10
00:00:57,120 --> 00:01:02,850
I think device right here, the DP 32, this one and the other one is the PMA two hundred and eighty

11
00:01:03,030 --> 00:01:10,680
float the file, which is this one here to ensure that these two files are stored on the facility,

12
00:01:10,770 --> 00:01:14,280
flash memory and after that is all straightforward.

13
00:01:14,310 --> 00:01:15,930
So there's the ality object.

14
00:01:16,650 --> 00:01:26,340
There is the single, it's Quixey Hardware Interface Idea zero for Io's 18 and 19.

15
00:01:26,820 --> 00:01:34,980
And I use that to create the LCD object right here and also use the same R-squared interface to create

16
00:01:34,980 --> 00:01:36,380
the BMY object.

17
00:01:36,390 --> 00:01:37,140
So the sensor.

18
00:01:38,250 --> 00:01:39,630
And I'm cleaning up the screen.

19
00:01:41,310 --> 00:01:42,030
And.

20
00:01:43,830 --> 00:01:51,570
Set the timer, it's got a period of one second every time he takes the roll call, the center ISO function,

21
00:01:51,570 --> 00:01:53,830
which is this function here, will turn on the.

22
00:01:55,230 --> 00:02:02,750
Then grab the values and print them out onto the shelf and onto the LCD.

23
00:02:03,900 --> 00:02:06,440
And after that, all 10 of the ality.

24
00:02:08,480 --> 00:02:10,360
As you can see, there's nothing fancy here.

25
00:02:10,400 --> 00:02:18,770
The EU authorities got enough ram and flash memory for storage so that she can write scripts that combine

26
00:02:18,770 --> 00:02:24,860
various types of external devices together and create interesting projects like that.

27
00:02:25,750 --> 00:02:26,910
I've got a challenge for you.

28
00:02:26,960 --> 00:02:35,570
How about you extend the script from this mini project to include some kind of Internet functionality,

29
00:02:35,930 --> 00:02:36,710
for example?

30
00:02:37,220 --> 00:02:43,100
A simple extension would be to add some code that would connect your insecurity to the Internet and

31
00:02:43,100 --> 00:02:49,160
then transmit the environment data from the sensor, whatever it appears from the screen to a service

32
00:02:49,160 --> 00:02:57,460
such as Do It Dot Io or even if they set that in half, if they sent that sent out email notifications.

33
00:02:58,340 --> 00:03:02,110
So I challenge you to give this a go, give it a try.

34
00:03:02,420 --> 00:03:06,880
And in the comments below, just write your solution.

35
00:03:07,130 --> 00:03:08,360
What did you come up with.

36
00:03:08,520 --> 00:03:11,750
And of course feel free to ask any questions.

37
00:03:12,490 --> 00:03:15,220
Looking forward to seeing what you have achieved.
