將開發板連接電腦 USB 並開啟 Arduino IDE 並選好 開發板名稱 及 COM Port 位置
溫馨提醒:
本開發板有 Auto flash 自動上傳功能, 請將 Auto Upload mode 設定為 Enable
測試 Blink 程式
int YelloLED = 9; //PA15
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(YelloLED, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(YelloLED, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(YelloLED, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}