1
00:00:00,960 --> 00:00:06,600
And welcome to a new section in this course, in this section, I am going to talk about the thorny

2
00:00:06,600 --> 00:00:13,500
idea, which is any open source integrated development environment that will be using to program the

3
00:00:13,500 --> 00:00:19,660
E.S.P 32 using micro python throughout this course in this first lecture of this section.

4
00:00:19,680 --> 00:00:27,480
I'd like to show you around funny in my already set up instance, if you can see here and show you the

5
00:00:27,480 --> 00:00:33,660
location where you can download the installation utility so you can install it on your own computer.

6
00:00:34,170 --> 00:00:37,300
So let me show you around what it looks like.

7
00:00:37,710 --> 00:00:39,540
So here's Tony running.

8
00:00:39,540 --> 00:00:47,280
As I've said already, I've done a little bit of configuration to customize the font types and sizes

9
00:00:47,280 --> 00:00:48,420
and things like that.

10
00:00:48,840 --> 00:00:57,240
But largely what you're seeing here is, though, it looks like as soon as you install it, Tony, is

11
00:00:57,240 --> 00:01:01,740
very capable and configurable, integrated development environment.

12
00:01:02,130 --> 00:01:11,400
At its most basic view, it would look like this where you get the upper part of the window where you

13
00:01:11,400 --> 00:01:19,620
can see one or more tabs, you can have multiple tabs with your various python programs or components

14
00:01:19,620 --> 00:01:20,340
for program.

15
00:01:20,550 --> 00:01:27,350
And then down below, you've got to show that you can use to interact with the Python interpreter.

16
00:01:27,660 --> 00:01:35,100
In this case, as you can see, I'm running Micro Python on my E.S.P 32, which is connected to worry

17
00:01:35,100 --> 00:01:35,520
about this.

18
00:01:35,520 --> 00:01:36,030
For now.

19
00:01:36,220 --> 00:01:43,050
I'm going to show you first how to install the necessary interpreter on your AHP 32 in the next lecture

20
00:01:43,050 --> 00:01:49,370
and then show you how the connections and be able to interact with Micro Python on the HP 32.

21
00:01:49,860 --> 00:01:58,650
But for now, all I want to show you is that the show allows me real time interaction with the Python

22
00:01:58,650 --> 00:02:01,370
interpreter that is running on the issue between the two.

23
00:02:01,680 --> 00:02:04,170
But apart from that, it's got many more capabilities.

24
00:02:04,200 --> 00:02:12,180
For example, if I go into tools and options, I can change the interpreter from micro python to one

25
00:02:12,180 --> 00:02:14,530
of the other variable interpreters, for example.

26
00:02:14,550 --> 00:02:23,640
This one here is Python that ships with only or you can go for Python that is running on a virtual environment

27
00:02:24,000 --> 00:02:26,940
or with Python running somewhere else.

28
00:02:26,940 --> 00:02:33,990
Even through the Internet, you can access interpreters via perhaps S.H. or other means.

29
00:02:34,410 --> 00:02:40,920
And you can also see here that the only instance that I'm running, which is version three point three

30
00:02:40,920 --> 00:02:47,250
point four, which is the latest version at the time of this recording, also ships with capability

31
00:02:47,250 --> 00:02:55,410
of running micro python on BBC Microdata Raspberry Pi, Pekoe E.S.P 32 in the ESP eight to six six,

32
00:02:55,620 --> 00:02:58,190
the source or circuit python environment.

33
00:02:58,470 --> 00:03:01,740
So it's already fully featured just out of the box.

34
00:03:02,130 --> 00:03:07,530
But you can install a lot more python targets, as you can see, via plug.

35
00:03:08,640 --> 00:03:09,050
All right.

36
00:03:09,450 --> 00:03:17,300
Now, another thing that I want to show you is that Tony is used not just for micro python on a medical

37
00:03:17,310 --> 00:03:20,670
device, but for general python development.

38
00:03:20,670 --> 00:03:22,320
And it gives you a lot of tools here.

39
00:03:22,340 --> 00:03:24,870
He can see to help you with that.

40
00:03:24,920 --> 00:03:32,550
So, for example, you can turn on the files view and this gives you access to all files in a particular

41
00:03:32,550 --> 00:03:34,340
location on your local file system.

42
00:03:34,350 --> 00:03:36,600
In this case, it's on my computer.

43
00:03:36,930 --> 00:03:44,010
But also it gives you a view of the files that exist on the target device file system like these.

44
00:03:44,010 --> 00:03:48,820
So these files are stored on the ESB itself.

45
00:03:49,770 --> 00:03:57,600
There's also a series of other types of tools, such as the ability to inspect the contents of the heap

46
00:03:57,600 --> 00:03:59,550
memory or.

47
00:04:00,680 --> 00:04:07,170
Let's say the stack, which is useful when you are jumping from one function into another.

48
00:04:07,550 --> 00:04:11,150
Keep track of which function you are in and give you a little demonstration of this.

49
00:04:11,150 --> 00:04:17,150
A little later in another section, you can check out the variables that have been set up and so on.

50
00:04:18,410 --> 00:04:23,450
Let's have a look at some of the most important features of Tony.

51
00:04:23,930 --> 00:04:27,830
First of all, you've got the configuration window.

52
00:04:28,110 --> 00:04:33,440
We can access it from preferences, but you can access the exact same thing by going to tools and options.

53
00:04:33,830 --> 00:04:40,320
And that allows you to customize the look and feel of Tony, which forms you using, et cetera, have

54
00:04:40,320 --> 00:04:45,260
the debugger works, which terminals to use, Schill and so on.

55
00:04:45,470 --> 00:04:51,330
So you can just customize the way that your Thony Ed works this way.

56
00:04:51,950 --> 00:04:56,000
This also got into tools and plug ins.

57
00:04:57,240 --> 00:05:03,420
There's a whole variety of plug ins that you can install, some of them, as I said earlier, in version

58
00:05:03,720 --> 00:05:08,750
three point three point four, come built into Thorney itself.

59
00:05:08,760 --> 00:05:18,630
For example, there is the E.S.P tool package, which allows the idea to interact with the two and,

60
00:05:18,630 --> 00:05:21,300
for example, flash new firmware on it.

61
00:05:21,720 --> 00:05:28,500
But there's others you can search on paper, which is the repository of Python repository of the packages

62
00:05:28,500 --> 00:05:31,720
and see what else is available to show you how to use that later.

63
00:05:32,250 --> 00:05:41,580
It's also a package manager like this also allows you to search and pipeline for python packages that

64
00:05:41,580 --> 00:05:44,760
contain libraries or code that is shareable.

65
00:05:44,760 --> 00:05:45,580
And then you can use.

66
00:05:45,660 --> 00:05:50,730
Again, I'm going to show you this a little later on, how to install a paper package.

67
00:05:51,360 --> 00:05:54,980
Okay, so this little introduction, we're going to talk a lot more about Sony later.

68
00:05:54,990 --> 00:06:00,960
And I'm going to show you how to use the specific functions that we are going to need throughout this

69
00:06:00,960 --> 00:06:01,320
course.

70
00:06:01,320 --> 00:06:06,480
We're going to need all of them, because, as I said, we're not programming in the desktop version

71
00:06:06,480 --> 00:06:10,340
of the Python interpreter, but in the micro python interpreter.

72
00:06:10,350 --> 00:06:12,270
It runs on an ISP 32.

73
00:06:12,540 --> 00:06:18,480
And therefore, many of the features that are available on Sony in general will not work with micro

74
00:06:18,480 --> 00:06:19,050
python.

75
00:06:20,160 --> 00:06:26,790
To get the money, go to the phony website, which attorney Doug can have a quick look at this and just

76
00:06:26,790 --> 00:06:35,310
to get a rundown of the most important features, and I also highly recommend that you watch this video

77
00:06:35,310 --> 00:06:35,770
here.

78
00:06:36,120 --> 00:06:43,470
It's a demonstration of some of the most interesting features, especially the debugging features produced

79
00:06:43,470 --> 00:06:45,540
by one of the developers.

80
00:06:46,140 --> 00:06:49,080
So check it out to download Thony.

81
00:06:49,080 --> 00:06:51,950
Just click on your operating system.

82
00:06:51,960 --> 00:06:57,820
And in my case, I'm working on a Mac download a file, double click on it and install it.

83
00:06:57,840 --> 00:06:59,120
There's nothing special about it.

84
00:06:59,430 --> 00:07:00,360
It's very easy.

85
00:07:00,810 --> 00:07:07,800
Another Web resource I want to show you is the GitHub repository so you can see the source code of the

86
00:07:08,100 --> 00:07:08,760
project.

87
00:07:09,030 --> 00:07:13,100
Now, here you will find additional releases.

88
00:07:13,500 --> 00:07:22,950
So click on the releases link and you will take it to a page where you can access not just the latest

89
00:07:22,950 --> 00:07:24,330
release, three, three, four.

90
00:07:24,330 --> 00:07:27,630
In my case, three through five is just being worked on at the moment.

91
00:07:27,960 --> 00:07:31,700
It's not available via the download button here.

92
00:07:31,730 --> 00:07:33,240
Can see this is still three, three, four.

93
00:07:33,600 --> 00:07:36,810
The bleeding edge version is through three five.

94
00:07:37,290 --> 00:07:46,290
But I found on the Mac in particular, if you are using Mac OS, Big Bixler, which is Mac OS 11, then

95
00:07:46,290 --> 00:07:49,560
version three three four does not work properly.

96
00:07:49,560 --> 00:07:52,110
You may need to go to an older version.

97
00:07:52,980 --> 00:07:55,640
Let's say three three three did work for me.

98
00:07:55,980 --> 00:07:59,940
So in case you need another version, this is where you can get it from.

99
00:08:00,900 --> 00:08:07,140
OK, that concludes this first introductory lecture to this section in the next section, I'm going

100
00:08:07,140 --> 00:08:13,920
to show you how to install the micro python interpreter on your ISP 32, so then you can start using

101
00:08:13,920 --> 00:08:15,880
it with thirty first.
