1
00:00:03,280 --> 00:00:03,870
Hello.

2
00:00:03,910 --> 00:00:05,200
Welcome back.

3
00:00:05,200 --> 00:00:11,110
So yeah let's blink OLED using the Cuban mix what I'm going to do so I'm just going to double click

4
00:00:11,110 --> 00:00:14,080
here and go to the definition of this function to see the.

5
00:00:14,680 --> 00:00:21,190
The LCD we are using again or the GPI or pins we are using our click here or we have to rebuild first

6
00:00:21,220 --> 00:00:31,100
I'll click here to rebuild it's rebuilding once that is done I could just right click here go to definition

7
00:00:31,880 --> 00:00:43,520
we're here and we're using GPL your pin twelve thirteen fourteen fifteen and so we can just call these

8
00:00:43,520 --> 00:00:45,300
patents and let them talk.

9
00:00:46,010 --> 00:00:47,020
I'll come back to me.

10
00:00:47,810 --> 00:00:48,710
It's still a name.

11
00:00:48,710 --> 00:00:53,340
Actually we chose to keep them all in one file so it's keeping this file here.

12
00:00:53,540 --> 00:00:56,960
It's declared it down here in Maine dot CFR.

13
00:00:56,960 --> 00:01:01,750
So what I'm going to do is just come here and see

14
00:01:04,330 --> 00:01:09,690
how GPI you write spin.

15
00:01:09,940 --> 00:01:20,940
I could just write spin high and this function takes three argument the port the PIN number keeps your

16
00:01:20,950 --> 00:01:21,690
pin.

17
00:01:22,280 --> 00:01:30,760
That's it in twelve and then the state I could just say one or GPL your pin set and one good thing about

18
00:01:30,760 --> 00:01:37,270
this is if you don't remember that particular API you can just click here function and then it gives

19
00:01:37,270 --> 00:01:40,410
you all the API is available for each module.

20
00:01:40,420 --> 00:01:44,560
So say I want to see the API is available for the GPL your module.

21
00:01:44,560 --> 00:01:48,900
I just click here and then it keeps me all the functions I can use for the GPL module.

22
00:01:49,020 --> 00:01:53,640
And as you can see you've got the whole GPL you pin right here right.

23
00:01:53,740 --> 00:02:02,980
We've got a total pin we've got it locked in in it Exeter and I'll just rebuild my project and download

24
00:02:02,980 --> 00:02:05,460
onto my board.

25
00:02:05,530 --> 00:02:12,340
So as you can see the green OLED which corresponds to GPL you pin twelve on the port deal is turned

26
00:02:12,340 --> 00:02:16,330
on because we just wrote to that pin.

27
00:02:16,330 --> 00:02:24,070
So this a very quick overview of the way the cube emacs generates code in the next lesson which I'll

28
00:02:24,070 --> 00:02:31,420
call back to the cube and makes graphical user interface and dig deeper into all the various capabilities

29
00:02:31,480 --> 00:02:32,710
it offers.

30
00:02:32,710 --> 00:02:39,580
So if you have any questions or you need further elaboration on any of the topics or any of the things

31
00:02:39,580 --> 00:02:40,920
demonstrated here.

32
00:02:41,020 --> 00:02:46,180
Don't forget to send me a message or leave your questions below and I'll see you in the next lesson.
