www.joy
-
it.net
Pascalstr. 8 47506 Neukirchen
-
Vluyn
3.1.2
Library
We use the
for the Arduino, which was published by
. You can find this library in your Arduino IDE under
Tools
→
Manage libraries...
. If you have successfully downloaded the
libra
ry, you can find examples under
File
→
Examples
→
U8g2 Examp
les
.
3.1.3
Code Example
Here we will explain how to use a code example of the U8g2 library.
We will use the example
GraphicsTest.
This example can be found under
File
→
Examples
→
U8g2
→
full_buffer
→
GraphicsTest
. In this code, you need to uncomment
line 161 before you can execute it using the Upload button.
This is because line 161 contains the declaration of the display
using SPI. Of course, you can use the other examples in the same
way by uncommenting the same line in the other code
examples.
Note that under
Tools
,
Board
and
Port
must be correctly selected.
3.2
Parallel (8080)
3.2.1
Connection