Hello.
Welcome back.
So yeah let's blink OLED using the Cuban mix what I'm going to do so I'm just going to double click
here and go to the definition of this function to see the.
The LCD we are using again or the GPI or pins we are using our click here or we have to rebuild first
I'll click here to rebuild it's rebuilding once that is done I could just right click here go to definition
we're here and we're using GPL your pin twelve thirteen fourteen fifteen and so we can just call these
patents and let them talk.
I'll come back to me.
It's still a name.
Actually we chose to keep them all in one file so it's keeping this file here.
It's declared it down here in Maine dot CFR.
So what I'm going to do is just come here and see
how GPI you write spin.
I could just write spin high and this function takes three argument the port the PIN number keeps your
pin.
That's it in twelve and then the state I could just say one or GPL your pin set and one good thing about
this is if you don't remember that particular API you can just click here function and then it gives
you all the API is available for each module.
So say I want to see the API is available for the GPL your module.
I just click here and then it keeps me all the functions I can use for the GPL module.
And as you can see you've got the whole GPL you pin right here right.
We've got a total pin we've got it locked in in it Exeter and I'll just rebuild my project and download
onto my board.
So as you can see the green OLED which corresponds to GPL you pin twelve on the port deal is turned
on because we just wrote to that pin.
So this a very quick overview of the way the cube emacs generates code in the next lesson which I'll
call back to the cube and makes graphical user interface and dig deeper into all the various capabilities
it offers.
So if you have any questions or you need further elaboration on any of the topics or any of the things
demonstrated here.
Don't forget to send me a message or leave your questions below and I'll see you in the next lesson.