[[PageOutline]] == 1.環境 == * OS - Ubuntu 9.10 Desktop (32bit) * gcc-avr - 1:4.3.3-1 [[BR]] == 2.安裝開發工具於 Ubuntu == * 安裝 {{{ $ sudo aptitude install binutils-avr avrdude gcc-avr }}} * 安裝 [http://www.arduino.cc/en/Main/Software Arduino IDE] {{{ $ wget http://arduino.googlecode.com/files/arduino-0017.tgz $ tar zxvf arduino-0017.tgz $ cd arduino-0017 $ ./arduino }}} [[BR]] == 3.Hello World == * 先透過 USB 連接到電腦,若是有抓到 arduino 板子的話,可以看到 PWR 燈和 L 燈會亮起來 * 開啟 Arduino IDE,設定連接埠 [[Image(port.png,width=300px)]] * !HelloWorld 範例程式 [[Image(HelloWorld.png,width=300px)]] *