# 安裝開發環境 (v3)

### 下載並安裝 BlocklyDuino v3 (綠色軟體) <a href="#id-an-zhuang-kai-fa-huan-jing-v3-xia-zai-bing-an-zhuang-blocklyduinov3-lv-se-ruan-ti" id="id-an-zhuang-kai-fa-huan-jing-v3-xia-zai-bing-an-zhuang-blocklyduinov3-lv-se-ruan-ti"></a>

1. 下載後請解壓縮到目的路徑

{% hint style="info" %}
此包為綠色軟體包，內容物的路徑比較深，可能會造成編譯時的錯誤，且錯誤很隱諱不易察覺。請解壓縮時注意以下兩點:

1. 擺放路徑越短越好, 盡量就解壓縮在根目錄下
2. 有些解壓縮軟體對於過長路徑會產生錯誤(例如某些版本的 WinRAR)， 可以使用免費的 [7-zip](https://www.7-zip.org/) 來解壓縮

![](/files/7Rr9cxybAUfOnZR7KPFg)
{% endhint %}

2.在 BlocklyDuino3 的檔案夾內，可以找到 BlcoklDuino.exe，點擊即可執行

![](/files/3HHlKSwQcirYcGwxHB8g)

### 下載並安裝 USB-UART 驅動 <a href="#id-an-zhuang-kai-fa-huan-jing-v3-xia-zai-bing-an-zhuang-usbuart-qu-dong" id="id-an-zhuang-kai-fa-huan-jing-v3-xia-zai-bing-an-zhuang-usbuart-qu-dong"></a>

&#x20;1\. 下載並安裝 CP2102N 驅動程式。 CP2102N 是 LinkIt 7697 開發板上的 USB 轉 UART 晶片， 透過此晶片來連接 PC[  ](http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers)

請至 CP2102N 官方網站下載與安裝 CP2102N USB to UART Bridge VCP 驅動程式。下載前需根據電腦端的作業系統版本，使用對應的 [CP210x Windows Drivers](https://www.silabs.com/documents/public/software/CP210x_Windows_Drivers.zip) 選項來下載驅動程式。

[下載CP2102N驅動程式](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers)

{% hint style="success" %}
請選擇符合您使用平台的驅動程式來安裝:

![](/files/VNCSSb8OPgGQ92YNTiMh)
{% endhint %}

2.透過 micro-USB 連接開發板， 可看到板上的 PWR LED 點亮，表示開發板有被正確供電

![](/files/YT4LhxErGcYxsgP79d5S)

### 選擇 Com Port <a href="#id-an-zhuang-kai-fa-huan-jing-v3-xuan-ze-comport" id="id-an-zhuang-kai-fa-huan-jing-v3-xuan-ze-comport"></a>

1\. 選取插上 LinkIt 7697 後新增的 Com Port

![](/files/jxBNuFnBhk5WjOeEcI2r)

### 我的第一個程式 Hello World <a href="#id-an-zhuang-kai-fa-huan-jing-v3-wo-de-di-yi-ge-cheng-shi-helloworld" id="id-an-zhuang-kai-fa-huan-jing-v3-wo-de-di-yi-ge-cheng-shi-helloworld"></a>

1\. 從左邊的 **序列埠 I/O** 和 **時間** 內拉出積木，印出 Hello World

2\. 按下右上方的 **編譯+上傳** 按鈕

![](/files/EnC8vtZmrBEr0WR4pit7)

3\. 此時可看到一個 **編譯+上傳** 執行中的動畫，也可點開燒錄狀態看執行的 log

![](/files/pEfHFRuxJ0BGzopT8wRb)

4\. 上傳完成後，程式就會自動開始執行。可按上面的 **開啟監控視窗按鈕**，可以看到每一秒印出一個 Hello World

![](/files/rwf5NcjjT0I01EfFIJ2G)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cavedu.gitbook.io/linkit-7697/linkit-7697-blocklyduino-shi-yong-zhi-nan/an-zhuang-kai-fa-huan-jing-v3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
