Pi 安裝中文字型 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 9月 11, 2016 sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 留言
RetroPie With WaveShare 3.5inch RPi LCD(A) 6月 10, 2016 RetroPie image + WaveShare LCD 3.5(A) git clone https://github.com/swkim01/waveshare-dtoverlays.git sudo cp waveshare-dtoverlays/waveshare35a-overlay.dtb /boot/overlays/ sudo nano /boot/config.txt 加在/boot/config.txt最下面2行 dtparam= spi= on dtoverlay= waveshare35a reboot reboot後檢查 ls /dev/fb* 如果有發現/dev/fb0跟/dev/fb1 那/dev/fb1就是3.5LCD了 編譯fbcp sudo apt-get install cmake git clone https://github.com/tasanakorn/rpi-fbcp cd rpi-fbcp/ mkdir build cd build/ cmake .. make sudo install fbcp /usr/ local / bin /fbcp sudo nano /etc/rc.local 在exit 0 前面加入 /usr/ local /bin/fbcp & 存檔完reboot 就可以了 如果買的是3.2b 把上面35a都改成32b即可 git抓下只有這兩款 , 如果是4吋的不知道能不能用 完成後ssh連不進去 , 應該是輸出的問題 . 我沒研究 ... 官網的驅動 https://github.com/MCUapps/waveshare-3.5-Spotpear-for-Rpi 裡面的方法對RetroPie的image會有rpi-update出現ca的錯誤裝不起來 參考 https://retropie.org.uk/forum/topic/295/retropie-and-waveshare-32b/2 另一方法 modprobe flexfb width=320 height=480 regwidth=16 init=-1,0xb0,0x0,-1,0x11,-2,250,-1,0x3A,0... 閱讀完整內容
WaveShare LCD22A 8月 29, 2016 1 2 GND = GND 3 4 VCC = 3,3V 5 6 V0 = GND … … 19 20 T_IRQ = GPIO23 21 22 23 24 T_CS = CE1 25 26 T_DCLK = CLK 27 28 T_DIN = MOSI 29 30 T_DOUT = MISO 31 32 RST = GPIO24 33 34 SCI = MOSI 35 36 SCK = CLK 37 38 CS = CE0 39 40 RS = GPIO25 閱讀完整內容
留言