###### tags: `CPP` `Arduino` # 00 前言 本系列教學是針對旗標科技[《用 ESP32×Arduino IDE 學機器學習》](https://www.flag.com.tw/books/product/FM635A)所寫的 C++ 入門教學, 以 [LOLIN D32](https://www.wemos.cc/en/latest/d32/d32.html) 這一塊採用 ESP32 的開發板為例, 利用板子上內建的 LED 作為輸出, 講解使用 Arduino IDE 撰寫程式時必須知道的 C++ 關鍵知識。 如果你不是使用 LOLIN D32 開發板, 也一樣可以閱讀這一份教學, 只是要依照下表更改 LED 的腳位以及切換亮燈的高低電位設定: | 開發板 | 內建 LED 腳位 | 亮燈電位 | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |:-------------:|:--------:| | [LOLIN D32](https://www.wemos.cc/en/latest/d32/d32.html) | 5 | LOW | | [Arduino UNO](https://store.arduino.cc/products/arduino-uno-rev3) | 13 | HIGH | | [Arduino Nano](https://store-usa.arduino.cc/collections/boards/products/arduino-nano) | 13 | HIGH | | [D1 mini](https://shopee.tw/D1-mini(ESP8266)-%E6%8E%A7%E5%88%B6%E6%9D%BFFM999D-i.195010028.5605909206?sp_atk=4190c921-7452-44fa-9afa-cc4422d00224&xptdk=4190c921-7452-44fa-9afa-cc4422d00224) | 2 | LOW | | [Doit ESP32 Dev Kit](https://github.com/SmartArduino/SZDOITWiKi/wiki/ESP8266---ESP32) | 2 | HIGH | 本文假設您已經依照[《用 ESP32×Arduino IDE 學機器學習》](https://www.flag.com.tw/books/product/FM635A)手冊上的第 2 章安裝好 Arduino IDE 開發環境, 並且也在 Arduino IDE 中安裝好 ESP32 開發板的套件, 執行過閃爍內建 LED 的實驗, 若您尚未完成, 請回頭依序完成。 接下來就讓我們一起進入 [C++ 程式語言的世界](/3rvGzlqVQnG31RGvhvdLTg)吧!
{"metaMigratedAt":"2023-06-16T22:50:37.421Z","metaMigratedFrom":"Content","title":"00 前言","breaks":true,"contributors":"[{\"id\":\"0ec0153c-a949-4c09-b033-47ef8e2367ff\",\"add\":2241,\"del\":118}]"}
Expand menu