www.joy
-
it.net
Pascalstr. 8 47506 Neukirchen
-
Vluyn
2. SETUP OF THE DISPLAY INTERFACE
The display can be controlled in 4 different ways, via I2C, SPI, 8
-
bit paral-
lel 6800 interface and 8
-
bit parallel 8080 interface.
The display is delivered pre
-
configured for control via SPI. If you want to
use one of the other control methods, you have to re
-
solder the resistors
BS1 and BS2 on the back of the board.
In the table, you can see how the resistors must be set for the respective
mode.
6800
-
parallel
8080
-
parallel
I2C
SPI
BS1
0
1
1
0
BS2
1
1
0
0
3. USE WITH AN ARDUINO
As the display works with a 3V logic level and most Arduinos with 5V, we
use an Arduino Pro Mini 3.3V in this example.
If you want to use an Arduino with a 5V logic level, such as an Arduino
Uno, you have to reduce all data lines leading from the Arduino to the dis-
play from 5V to 3.3V with a logic level converter.
First you need to install the required library in your Arduino IDE.
To do this, go to
Tools
-
> Manage Libraries...
Search for
u8g2
and install
the library
U8g2 by oliver