1
00:00:05,670 --> 00:00:12,600
In a previous lecture, he learned how to use the next seven to one nine displayed in its CINQUERA with

2
00:00:12,600 --> 00:00:16,690
four displays configuration to display random pixels.

3
00:00:17,280 --> 00:00:22,800
In this lecture, I'll show you how to display a bit of text, although you'll see the text display

4
00:00:22,800 --> 00:00:27,410
capabilities are not that amazing and there are few limitations.

5
00:00:27,900 --> 00:00:32,680
So the wiring, of course, hasn't changed exactly the same as the previous lecture.

6
00:00:32,740 --> 00:00:37,620
So let's jump right into the software side here.

7
00:00:37,860 --> 00:00:44,880
The software for the text demonstration is identical to that of the random ality demonstration, except

8
00:00:44,880 --> 00:00:53,510
that down here we are using the text function to display just four letters at this position here, zero

9
00:00:53,520 --> 00:00:53,750
zero.

10
00:00:53,790 --> 00:01:02,490
So we start from the top of the display and then use color zero, which is unlet, which means that

11
00:01:02,490 --> 00:01:04,300
the light is going to be turned off.

12
00:01:04,830 --> 00:01:13,290
So then a bit earlier, right here in line 39, I'm using field, but this time I'm passing one to the

13
00:01:13,290 --> 00:01:17,700
field function instead of zero that I did in the previous example.

14
00:01:17,970 --> 00:01:23,760
It means that the field command, the field function is going to turn all of the latest on the display

15
00:01:23,800 --> 00:01:24,180
on.

16
00:01:24,690 --> 00:01:34,380
Therefore, by printing text with Callard zero, I'd be using black on white to print out the latest

17
00:01:34,380 --> 00:01:35,220
ABCDE.

18
00:01:36,240 --> 00:01:41,360
I've also said the brightness to five and by calling show and making those letters visible.

19
00:01:42,120 --> 00:01:50,100
So I'm going to hit control, see on my keyboard to stop the random pixels example and then.

20
00:01:52,560 --> 00:01:55,210
Start the text, there you go.

21
00:01:55,620 --> 00:02:04,650
So the text looks like this one, it's black black text on white background and obviously this red background,

22
00:02:04,650 --> 00:02:08,460
because of the color of the early days, has a dark on.

23
00:02:08,460 --> 00:02:09,000
Right.

24
00:02:09,710 --> 00:02:11,330
Can it do a couple of changes?

25
00:02:11,340 --> 00:02:13,410
Let's see what capitals look like.

26
00:02:15,330 --> 00:02:23,760
And then I'm going to change the field to zero and the color of the text to one right at that.

27
00:02:27,440 --> 00:02:34,610
And it looks like this is interesting, that did not occur, it did not appear because I did not tight-fitting.

28
00:02:35,390 --> 00:02:35,780
All right.

29
00:02:38,840 --> 00:02:41,650
And of course, he can also display numbers.

30
00:02:48,640 --> 00:02:54,280
So there's numbers that I mentioned earlier, there are some limitations with using text in with these

31
00:02:54,280 --> 00:03:00,290
displays and with this particular library, for once, you can't change the size of the library.

32
00:03:00,310 --> 00:03:08,170
It is the size that takes up the whole individual eight by eight display to display one single character

33
00:03:08,620 --> 00:03:14,920
and another limitation that are found to be quite annoying is that you can't rotate your characters,

34
00:03:15,280 --> 00:03:23,860
so you have to use your display in this vertical orientation can really go horizontally and have your

35
00:03:23,860 --> 00:03:28,020
characters turned by 90 degrees in a horizontal way.

36
00:03:28,450 --> 00:03:32,760
You can dig into the driver itself.

37
00:03:32,770 --> 00:03:40,780
And if your python knowledge is good enough, you'll be able to make those changes in the code itself

38
00:03:40,780 --> 00:03:46,960
and then have perhaps a rotation function that allows you to rotate by 90 degrees.

39
00:03:47,350 --> 00:03:53,200
But without making modifications to the library itself, you can't at least I wasn't able to find a

40
00:03:53,200 --> 00:03:54,630
library that can do this.

41
00:03:55,240 --> 00:04:02,350
So if you can live with these limitations of this, Max, seven to one nine library, and especially

42
00:04:02,350 --> 00:04:07,980
if you want to use it for displaying graphics, using the graphics primitives, I think it is a good

43
00:04:07,990 --> 00:04:08,250
idea.

44
00:04:08,920 --> 00:04:09,560
Tootles.
