-
Notifications
You must be signed in to change notification settings - Fork 2
birdtechstep/fbtft
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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
About
fbtft, volumio, rpi
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published