ILI9341 TFT | Rpi(Pin#) |
---|---|
MISO | N/C |
LED | 3.3V(※1) |
SCK | SCLK(23) |
MOSI | MOSI(19) |
D/C | GPIO2(03)(※2) |
RES | GPIO3(05)(※2) |
CS | CS0(24) |
GND | GND |
VCC | 3.3V |
$ sudo modprobe flexfb width=320
height=240 buswidth=8 init=\ |
[ 99.193056] fbtft: module
is from the staging directory, the quality is unknown, you
have been warned. |
-1 |
初期化コマンド |
-2 |
待ち時間(m秒) |
-3 |
初期化シーケンスの終了 |
static int init_display(struct
fbtft_par *par) |
init=\ |
$ ls /dev/fb* |
$ con2fbmap 1 1 |
spi-bcm2835 |
options flexfb width=320 height=240
buswidth=8 init=\ |
dwc_otg.lpm_enable=0
console=serial0,115200 console=tty1 root=/dev/mmcblk0p2
rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
fbcon=map:1 |
$ sudo modprobe flexfb width=320
height=240 buswidth=8 init=\ |
sudo dpkg-reconfigure console-setup |