Monday, May 18, 2015

安裝Raspberry

1.灌Raspberry
https://www.raspberrypi.org/downloads/
2.帳號:pi(預設)
3.startx
4.sudo apt-get update
   sudo apt-get upgrade
   sudo apt-get install vim

安裝好後:

在Windows下安裝(putty)
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html


在Host Name(or ip address)列:打raspberry pi IP

連線後來個簡單python程式

  1. vim
  2. i
  3. print("hello python");
  4. :w 檔名.py//儲存
  5. :q//跳出
  6. sudo python 檔名.py//執行

No comments:

Post a Comment