www.joy
-
it.net
Pascalstr. 8 47506 Neukirchen
-
Vluyn
3. USAGE WITH THE RASPBERRY PI
1. Connection
Raspberry Pi
LCD
Pin 22
(GPIO 25)
DC
Pin 13
(GPIO 27)
RES
Pin 23
(SCLK)
SCL
Pin 19
(MOSI)
SDA
GND
GND
3, 3 V
VCC
Pin 12
(GPIO 18)
BLK
2. Code example with SPI
We offer you two sample codes for the Raspberry Pi. One is a control via
SPI and the other one via a frame buffer. In this part the operation via SPI
is explained.
First enter the following command to enable SPI on your Raspberry Pi.
sudo raspi
-
config