全能電路設計實戰

2018年6月7日 星期四

[Raspberry pi] Python GUI Tkinter



如何執行?
export DISPLAY=:0.0
python3 tkui.py













----------------------------------------------

Create GUI with TKInter over SSH

這一行, 就可以用SSH開發GUI程式, 讓視窗畫面出現在LCD上


export DISPLAY=:0.0

----------------------------------------------

RPi 4"Inch 480x320 LCD (SPI 界面)









Referecnes

  1. https://www.waveshare.com/wiki/4inch_RPi_LCD_(A)
  2. https://drive.google.com/file/d/1TqNTbJy-iOVd2H81s8i9jvJRkQTYv-Sq/view?usp=sharing
    Note: image file  pi/root 密碼是123456



https://goo.gl/EcCcj7

沒有留言 :

張貼留言