1.8" inch ST7735R SPI 128*160 TFT
Cenxiones de pines (con esto ya podemos usar programas en python sin
agregar modulo al kernel):
Agregar modulos al kernel:
I've activated SPI in raspi-config, and I've added fbcon=map:10 fbcon=rotate:1 fbcon=font:ProFont6x11 in /boot/cmdline.txt, but I see nothing but a white screen.
A modprobe fbtft_device name=adafruit18 gives the following:
Plus, /dev/fb1 appears after the modprobe.
There is also no luck in xorg - using /dev/fb1 in /usr/share/X11/xorg.conf.d/99-fbturbo.conf for fbturbo is not contributing. The white screen is residual. But the x startup was only a test, in the end I'd like nothing more than a console.
Any ideas?
https://github.com/notro/fbtft/wiki/LCD-Modules#sainsmart-18
agregar modulo al kernel):
Agregar modulos al kernel:
HAbilitar con raspi-config, el modulo SPI:
The SPI interface is ena.bled
cargar modulos al kernel:
modprobe fbtft_device name=flexfb
modprobe fbtft_device name=sainsmart18 speed=16000000 rotate=270
I've activated SPI in raspi-config, and I've added fbcon=map:10 fbcon=rotate:1 fbcon=font:ProFont6x11 in /boot/cmdline.txt, but I see nothing but a white screen.
A modprobe fbtft_device name=adafruit18 gives the following:
Plus, /dev/fb1 appears after the modprobe.
There is also no luck in xorg - using /dev/fb1 in /usr/share/X11/xorg.conf.d/99-fbturbo.conf for fbturbo is not contributing. The white screen is residual. But the x startup was only a test, in the end I'd like nothing more than a console.
Any ideas?
Sainsmart 1.8"
Wiring
Display | Driver gpio name | Raspberry Pi | Remark |
---|---|---|---|
GND | GND | ||
VCC | 3.3V | ||
SCL | SCLK | ||
SDA | MOSI | ||
RS/DC | dc | GPIO24 | Command/data |
RES | reset | GPIO25 | |
CS |
Comentarios