1
00:00:00,690 --> 00:00:07,410
Right at this point, you should already have installed your Thorney on your computer, and if you haven't

2
00:00:07,410 --> 00:00:09,000
done so, you should do it.

3
00:00:09,180 --> 00:00:16,440
Now, come back to this later when you have some let's say that you have installed your ID on your computer

4
00:00:16,710 --> 00:00:23,880
and you have a brand new HP 32, which, of course, does not come with micro python installed.

5
00:00:24,210 --> 00:00:29,940
So what you need to do before you can actually start working with micro python on this controller is

6
00:00:29,940 --> 00:00:32,910
to install the micro python firmware.

7
00:00:33,720 --> 00:00:35,880
To do that, you need two things.

8
00:00:35,880 --> 00:00:42,840
First, you need to download the firmware for the particular device from the Micro Python website.

9
00:00:42,840 --> 00:00:48,030
And then the second one is to use a appropriate tool to upload them.

10
00:00:48,120 --> 00:00:50,160
Where to your ISP to?

11
00:00:50,640 --> 00:00:58,410
We are lucky because phony version three point three, I believe, and light up comes with the E.S.P

12
00:00:58,410 --> 00:01:00,600
to building to 30.

13
00:01:00,600 --> 00:01:04,530
So we don't have to do anything outside the Sony environment.

14
00:01:04,890 --> 00:01:12,300
So in this lecture, I actually had to use Thony to upload the micro python firmware on your HP 32.

15
00:01:13,020 --> 00:01:20,820
So step number one is go to the Micro Python website, mark representativity and click on download and

16
00:01:20,820 --> 00:01:27,570
then look for your hospitality device, which is this here I'm using the generic hospitality module

17
00:01:28,230 --> 00:01:28,920
blinco that.

18
00:01:29,250 --> 00:01:35,340
And then here you've got several choices for this thing where there's basically three down here.

19
00:01:35,460 --> 00:01:38,220
And this version, of course, will go full version full.

20
00:01:38,460 --> 00:01:45,120
And I'm going to be using this stable version, one point one for all of the firmware.

21
00:01:45,450 --> 00:01:54,810
There are unstable versions and there are also versions for especially two with the additional S.P.I

22
00:01:54,810 --> 00:01:58,100
Ram chip, which provides additional memory.

23
00:01:58,410 --> 00:01:59,440
I don't have that.

24
00:01:59,470 --> 00:02:01,560
I'm going to go with the generic.

25
00:02:02,540 --> 00:02:10,910
Stable version, one point one for so click on the link to download the file and you'll end up with

26
00:02:11,030 --> 00:02:12,540
a file like this.

27
00:02:13,070 --> 00:02:16,970
So this is about one point five megabytes in size.

28
00:02:17,180 --> 00:02:24,340
And this is the thundery file that contains the firmware that will use Funi in a moment to upload it

29
00:02:24,430 --> 00:02:24,680
to.

30
00:02:25,490 --> 00:02:26,630
So it's good to Sony now.

31
00:02:27,950 --> 00:02:37,490
Can put this away, so Anthony, obviously connect your two to your computer, that and the tools and

32
00:02:37,490 --> 00:02:46,070
options select the micro python, especially to interpretor, which is the one that we want to use from

33
00:02:46,070 --> 00:02:48,800
the port drop down menu.

34
00:02:48,800 --> 00:02:52,960
Select the port to which your brother is connected.

35
00:02:52,970 --> 00:02:59,620
If it's anything like mine, then they will have an entry that looks like this.

36
00:03:00,150 --> 00:03:08,360
My soon to be controller is simply to want to, at least in my version of the EPA, to microcontroller

37
00:03:08,630 --> 00:03:15,560
and monitor them using just like that and then click on install or update them with this will take it

38
00:03:15,560 --> 00:03:22,190
to the security system where installer again will need to select the appropriate port and then browse

39
00:03:22,550 --> 00:03:25,490
for the firmware, which is this.

40
00:03:26,670 --> 00:03:34,830
And open, you can leave the citrus or the selection's here is the default erase flash before installing

41
00:03:35,010 --> 00:03:41,000
at the tool, it's going to clean up the flash memory of the pathetic two before installing the firmware.

42
00:03:41,280 --> 00:03:49,260
So are going to end up with the insecurity of being in sort of factory mode once it comes back from

43
00:03:49,260 --> 00:03:53,820
the installation process, which is what you want, and then click on install.

44
00:03:53,910 --> 00:03:58,350
You'll see the progress down the left side and bottom left in a few minutes.

45
00:04:09,660 --> 00:04:13,090
We're back to the installation is complete.

46
00:04:13,150 --> 00:04:18,910
We're done here, we will close the tool kit, OK?

47
00:04:19,410 --> 00:04:23,850
And you can see that now we have the prompt from the python prompt.

48
00:04:24,210 --> 00:04:29,360
Michael Python, one point fourteen is running on the hospitality module.

49
00:04:29,910 --> 00:04:39,550
If you type in help you see some information about this installation, just enlarge the shopping loop.

50
00:04:40,110 --> 00:04:40,560
All right.

51
00:04:40,560 --> 00:04:41,790
So that's my code.

52
00:04:41,790 --> 00:04:47,490
Python on the three to give you some information about the machine module and things that you can do

53
00:04:47,490 --> 00:04:53,730
to manipulate pins, for example, we are going to look at all of this in detail a bit later, tells

54
00:04:53,730 --> 00:04:58,650
you how to configure whiteflies from various commands to work with on the show.

55
00:04:59,160 --> 00:05:03,240
And I can just say one plus one equals two.

56
00:05:03,870 --> 00:05:13,500
The calculation happened on the HP 32 using micro python and now you have the ability to run micro python

57
00:05:13,530 --> 00:05:14,910
on the HP.

58
00:05:14,910 --> 00:05:15,510
Thirty two.

59
00:05:16,350 --> 00:05:21,150
And let's continue with our review of the thorny idy.

60
00:05:21,150 --> 00:05:22,850
There's a few more things that I want to show you.

61
00:05:23,100 --> 00:05:29,790
Continuing with the next lecture, we'll show you how to select and interpret among the many that are

62
00:05:29,790 --> 00:05:31,580
available on Sony.

63
00:05:31,920 --> 00:05:35,450
And after that, actually, you have to put your first Michael Python.
