Hi, welcome back in this lecture.
I'll show you how to use this -- nine six inch or ality display with the SSD one three one five controller,
which I happen to have implemented as a seed studio growth component.
You can see its markings here is probably the only way you display that.
I have with a marking of its controller on the board itself makes it very easy to identify.
So since this is a growth component to a growth cable and then a bunch of jumper wires to connect it
to the E.S.P 32, which is going to use these little pin to attach it back into my breadboard, which
states put.
Right.
So I use the exact same pin I sent wiring's as in the previous lecture.
This is a three point three volt display.
So the efficiency is connected to the three point three volt railing.
Then for Star, as you can see here as well, in the information they provided, the head of the sample
script, FDA, is connected to Tiberio, 25, and S.L to appear 26.
Now, similarly to this display here, the 096 OLED display with the it is the one three zero six controller.
I'm using the exact same driver Python script, and just like with this display here, they will looked
at a previous lecture.
I have only been able to make use of the software I took, which interface I have been able to use the
hardware interface, even though the approach that I am using are Channel one or I one.
As per the documentation here you can see I could see ID one uses CEO twenty five and a twenty six,
which are the pins that I'm using in this example.
Hardware hwc has failed, but my backup which is software has worked, so I'm going along with that.
So here's my example script.
I'm importing the various modules that are necessary, including the sixty one three zero six and here
I'm using software I squared seal it you see in the constructor to create the squared C object.
These are the dimensions of this display and I'll create the OLED object by calling the edges the one
three zero six and the call it squared C constructor and passing through the parameters for the width,
height and the squishy object.
And then in a loop I go ahead and print a little bit of text here and then call the show function to
bring the content of the screen from the buffer and draw it onto the actual physical screen.
I can use feel one zero zero here to invert the screen from blank or pixels of two or pixels on.
And I can use here a line.
To draw a single line from two arbitrary picks or positions using one is the carrot up the line so the
pixels are turned on and you can use the same primitives as you already know from previous lectures.
So there's fill this pixel scroll text, horizontal line, vertical line and so on.
And that's about it.
The script is already running in a loop and gives you a text screen to the end of the line, in fact,
to.