3.Arduino|3.Arduino ESP8266 VSCode 配置

用 Arduino编辑器没有提示,编码比较困难,好在我们有我们的编码神器 VSCode可以用,安装VSCode, 安装 Arduino插件
完成下面的配置
【3.Arduino|3.Arduino ESP8266 VSCode 配置】下面是vscode settings.json 配置

{ "typescript.updateImportsOnFileMove.enabled": "always", "window.zoomLevel": 0, "arduino.path": "/Applications/Arduino.app/", "arduino.commandPath": "Contents/MacOS/Arduino", "arduino.skipHeaderProvider": true, "arduino.openPDEFiletype": true, }

arduino.json 配置
{ "programmer": "ArduinoISP", "board": "esp8266:esp8266:generic", "configuration": "xtal=80,vt=flash,exception=legacy,ssl=all,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=4M2M,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200", "port": "/dev/cu.wchusbserial1460" }

c_cpp_properties.json 配置 在 inclusdePath 中加入我们的库地址:
"includePath": [ "${workspaceFolder}/**", "/Users/ezerdev/Library/Arduino15/packages/esp8266/tools/**", "/Users/ezerdev/Library/Arduino15/packages/esp8266/hardware/**" ],

完成上面这些配置我们就可以开开心心的用VS进行 Arduino开发了
下篇 记录一下 Esp8266 驱动TFT 屏幕 显示闹钟

    推荐阅读