-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
76 lines (54 loc) · 1.72 KB
/
README
File metadata and controls
76 lines (54 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
FBTFT
=========
Linux Framebuffer drivers for small TFT LCD display modules.
The module 'fbtft' makes writing drivers for some of these displays very easy.
Development is done on a Raspberry Pi running the Raspbian "wheezy" distribution.
INSTALLATION
Download kernel sources
From Linux 3.15
cd drivers/video/fbdev/fbtft
git clone https://github.com/notro/fbtft.git
Add to drivers/video/fbdev/Kconfig: source "drivers/video/fbdev/fbtft/Kconfig"
Add to drivers/video/fbdev/Makefile: obj-y += fbtft/
Before Linux 3.15
cd drivers/video
git clone https://github.com/notro/fbtft.git
Add to drivers/video/Kconfig: source "drivers/video/fbtft/Kconfig"
Add to drivers/video/Makefile: obj-y += fbtft/
Enable driver(s) in menuconfig and build the kernel
See wiki for more information: https://github.com/notro/fbtft/wiki
Source: https://github.com/notro/fbtft/
# Connect
spi0 [CE0]
dc 24
reset 25
led 23
Capacitive touch I2C
touch interupt 17
### Force the screen to stay on
sudo nano /etc/lightdm/lightdm.conf
Add the following lines to the [SeatDefaults] section:
# don't sleep the screen
xserver-command=X -s 0 dpms -nocursor
### ili9806g
#### Parallel databus Wiring
Display Driver gpio name Raspberry Pi Remark
VCC 5V can use 3.3V if R3 is shorted. See schematic
GND GND
RS dc GPIO16 GPIO3 if model B rev 2
WR wr GPIO17 GPIO2 if model B rev 2
RD 3.3V
DB0 db00 GPIO4
DB1 db01 GPIO5
DB2 db02 GPIO6
DB3 db03 GPIO7
DB4 db04 GPIO8
DB5 db05 GPIO9
DB6 db06 GPIO10
DB7 db07 GPIO11
CS cs GPIO12 GPIO27 if model B rev 2
RST reset GPIO13
LED led GPIO18 Can't drive backlight directly. Use transistor (50mA)
TP_INT GPIO27
SDA GPIO2
SCL GPIO3