Version 1 (modified by rock, 15 years ago) (diff) |
---|
1.環境
- OS - Ubuntu 9.10 Desktop (32bit)
- gcc-avr - 1:4.3.3-1
2.安裝開發工具於 Ubuntu
- 安裝
$ sudo aptitude install binutils-avr avrdude gcc-avr
- 安裝 Arduino IDE
$ wget http://arduino.googlecode.com/files/arduino-0017.tgz $ tar zxvf arduino-0017.tgz $ cd arduino-0017 $ ./arduino
3.Hello World
- 先透過 USB 連接到電腦,若是有抓到 arduino 板子的話,可以看到 PWR 燈和 L 燈會亮起來
- 開啟 Arduino IDE,設定連接埠
- HelloWorld? 範例程式
Attachments (8)
- port.png (25.0 KB) - added by rock 15 years ago.
- HelloWorld.png (40.8 KB) - added by rock 15 years ago.
- Verify.png (15.8 KB) - added by rock 15 years ago.
- Upload.png (15.4 KB) - added by rock 15 years ago.
- Console.png (34.3 KB) - added by rock 15 years ago.
- echo.png (21.5 KB) - added by rock 15 years ago.
- tail.png (20.9 KB) - added by rock 15 years ago.
- processing_arduino.png (200.2 KB) - added by rock 15 years ago.
Download all attachments as: .zip