Changes between Version 8 and Version 9 of rock/note/arduino
- Timestamp:
- Jan 4, 2010, 11:02:55 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rock/note/arduino
v8 v9 55 55 * 此範例程式讓 L 燈亮5秒之後熄滅1秒,一樣透過 Arduino IDE "complie" 後再 "upload",之後可看 Arduino 板子上的 L 燈變化 56 56 {{{ 57 #define LED 13 57 #define LED 13 //定義 LED 腳位為 13 58 58 void setup() 59 59 { … … 62 62 void loop() 63 63 { 64 digitalWrite(LED, HIGH); 65 delay(5000); 66 digitalWrite(LED, LOW); 67 delay(1000); 64 digitalWrite(LED, HIGH); //設定 LED 燈開啟 65 delay(5000); //持續開啟 5 秒 66 digitalWrite(LED, LOW); //設定 LED 燈關閉 67 delay(1000); //持續關閉 1 秒 68 68 } 69 69 }}} … … 91 91 [[Image(echo.png,width=300px)]] [[Image(tail.png,width=300px)]] 92 92 93 93 == 參考資源 == 94 * 書目 95 * [http://www.books.com.tw/exep/prod/booksfile.php?item=0010446252 踏進互動科技世界 - 使用 Arduino](本書譯者收入的13%將捐助台灣88水災用) 96 * [http://www.books.com.tw/exep/prod/booksfile.php?item=F011109004 Making Things Talk] 97 * 網站(英文) 98 * [http://www.arduino.cc/ Arduino] 99 * [http://www.ladyada.net/learn/arduino/index.html Arduino Tutorial] 100 * 網站(中文) 101 * [http://arduino.tw/ Arduino.TW] 102 * [http://wiki.arch.nctu.edu.tw/Arduino/Arduino ArchiWiki] 94 103 [[BR]] 104 [[BR]]