【2023年3月4日】
最近要在新電腦上安裝Arduino,需要進(jìn)行一些配置,正好記錄一下!
Arduino2.0.1 下的開發(fā)板添加操作。
ESP32開發(fā)板GitHub鏈接:
GitHub - espressif/arduino-esp32: Arduino core for the ESP32Arduino core for the ESP32. Contribute to espressif/arduino-esp32 development by creating an account on GitHub.https://github.com/espressif/arduino-esp32
可直接從GitHub下載壓縮包后然后導(dǎo)入Arduino IDE。
ESP8266開發(fā)板鏈接:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
ESP8266開發(fā)板GitHub鏈接:
https://github.com/esp8266/Arduinohttps://github.com/esp8266/ArduinoESP8266開發(fā)板鏈接:
https://arduino.esp8266.com/stable/package_esp8266com_index.json
ESP32 和 ESP8266 導(dǎo)入庫(kù)屬于相同操作。
方法一:直接在Arduino中添加ESP32庫(kù)
在?arduino-esp32 的?README.md 文件中,可訪問?Installing (Windows, Linux and macOS)? 查看如何在 Arduino 中安裝 ESP32。Installing (Windows, Linux and macOS)
附:一般的操作方法都可在?Arduino-ESP32 Online Documentation 中找到解決的辦法。
其實(shí)我們需要的就是
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
現(xiàn)在,我們需要打開 Arduino IDE ,選擇? 文件 → 首選項(xiàng) :
將上述鏈接復(fù)制在 其他開發(fā)板管理器地址 位置上。點(diǎn)擊確定,關(guān)閉首選項(xiàng)頁面。
接下來需要選擇 工具 → 開發(fā)板 → 開發(fā)板管理器 來添加開發(fā)板。
也可直接選擇左側(cè)邊欄的第二個(gè)按鈕,打開開發(fā)板管理器:
搜索 ESP32 點(diǎn)擊安裝即可。
安裝完畢,重啟Arduino即可。
文章來源:http://www.zghlxwxcb.cn/news/detail-451142.html
可以看到,在開發(fā)板選擇界面出現(xiàn)了 ESP32 。文章來源地址http://www.zghlxwxcb.cn/news/detail-451142.html
到了這里,關(guān)于Arduino添加ESP32開發(fā)板的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!