2. 輸入程式如下:
程式 :
-----------------------------------------------
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// the setup routine runs once when you press reset: | |
void setup() { | |
// initialize serial communication at 9600 bits per second: | |
Serial.begin(9600); | |
} | |
// the loop routine runs over and over again forever: | |
void loop() { | |
Serial.println("Hello, World!"); | |
delay(500); | |
} |
3. Verify
4. Upload
下載完成會出現 "Done Uploading"
6. 開啓 Serial Monitor
程式架構
沒有留言:
張貼留言