Menu Bar/Bottom
Start/Preferences/Raspberry Pi Configuration
System/Boot: To CLI
sudo vi /etc/default/keyboard
XKBLAYOUT="us"
sudo raspi-config
Interfacing Options/SSH
root/raspberry
sudo vi .config/pcmanfm/LXDE-pi/pcmanfm.conf
[volume]
mount_on_startup=0
mount_removable=0
sudo /etc/apt/sources.list
改 http://mirrordirector.raspbian.org/raspbian
為 http://archive.raspbian.org/raspbian
sudo apt-get update
先安裝 WittyPi 軟體,後安裝硬體
wget http://www.uugear.com/repo/WittyPi/installWittyPi.sh
sudo sh installWittyPi.sh
關機不要使用 shutdown, 改用下列命令
gpio mode 7 out
取得溫度
/opt/vc/bin/vcgencmd measure_temp
沒有留言:
張貼留言