Raspberry Pi KeDei 3.5 inch TFT LCD module V5.0 SPI Control program
This program works only with KeDei 3.5 inch TFT LCD module V 5.0.
Other versions will not work .
http://www.neko.ne.jp/~freewing/raspberry_pi/raspberry_pi_3_tft_lcd_3_5inch_kedei_touch_xpt2046_2/
You can choose any control method .
- bcm2835 version
- The pigpio library version
- Linux spidev version
- WiringPi library version
http://www.neko.ne.jp/~freewing/
https://github.com/FREEWING-JP/OrangePi_PC2_FBTFT_fbflex_35_lcd
https://github.com/FREEWING-JP/RaspberryPi_FBTFT_fbflex_35_lcd
https://github.com/FREEWING-JP/RaspberryPi_KeDei_35_lcd_v50
https://github.com/FREEWING-JP/tinydrm/tree/feature/kedei_35_v50/kedei_35_lcd_v50
https://www.raspberrypi.org/forums/viewtopic.php?p=1019562
by Conjur - Mon Aug 22, 2016 2:12 am - Final post on the KeDei v5.0 code.
https://github.com/l0nley/kedei35
sudo raspi-config
cd
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.52.tar.gz
tar -zxf bcm2835-1.52.tar.gz
cd bcm2835-1.52
./configure
sudo make install
cd
git clone https://github.com/FREEWING-JP/RaspberryPi_KeDei_35_lcd_v50.git
cd ~/RaspberryPi_KeDei_35_lcd_v50
gcc -o kedei_lcd_v50_pi kedei_lcd_v50_pi.c -lbcm2835
sudo ./kedei_lcd_v50_pi
sudo raspi-config
cd
git clone https://github.com/FREEWING-JP/RaspberryPi_KeDei_35_lcd_v50.git
cd ~/RaspberryPi_KeDei_35_lcd_v50
gcc -o kedei_lcd_v50_pi_pigpio kedei_lcd_v50_pi_pigpio.c -lpigpio -lrt -lpthread
sudo ./kedei_lcd_v50_pi_pigpio
sudo raspi-config
cd
git clone https://github.com/FREEWING-JP/RaspberryPi_KeDei_35_lcd_v50.git
cd ~/RaspberryPi_KeDei_35_lcd_v50
gcc -o kedei_lcd_v50_pi_spidev kedei_lcd_v50_pi_spidev.c
sudo ./kedei_lcd_v50_pi_spidev
sudo raspi-config
cd
git clone https://github.com/FREEWING-JP/RaspberryPi_KeDei_35_lcd_v50.git
cd ~/RaspberryPi_KeDei_35_lcd_v50
gcc -o kedei_lcd_v50_pi_wiringpi kedei_lcd_v50_pi_wiringpi.c
sudo ./kedei_lcd_v50_pi_wiringpi