initLCD.sh 402 B

123456789101112
  1. #!/bin/sh
  2. ## Script to insert fbtft module and init TFT Expansion
  3. ## Setup for TFT Expansion
  4. # setup backlight and cs-demux
  5. gpioctl dirout-high 1
  6. gpioctl dirout-low 3
  7. ## Insert the kernel module
  8. #insmod fbtft_device name=tm022hdh26 busnum=32766 cs=1 gpios=dc:2 speed=98985984 rotate=270 txbuflen=153600
  9. insmod fbtft_device name=tm022hdh26 busnum=32766 cs=1 gpios=dc:2 speed=98985984 txbuflen=153600