当前位置:网站首页>Using Visual Studio code to develop Arduino
Using Visual Studio code to develop Arduino
2022-04-23 18:52:00 【Brick Porter】
It is said that Visual Studio There are also plug-ins , But I am vs2019 This plugin was not found in the , Probably stopped developing .
Use Arduino No hints for development , And if it provides its own classes and functions, there is no header and no error in the file . There is no automatic prompt , Code coloring is also equal to no . There is no function of jump definition , This is basically a configuration Arduino Text editor for compilation options . It's not really friendly for people who write code . Novices have no way to start . Turn to source code ? Find out if it's for 9102 Our times are still too backward , Moreover, novices may not know which file it is in , You have to use full-text search .
Fortunately Visual Studio Code Provides Arduino Support plug-ins , It's also easy to use . Directly above
Search in plug-ins Arduino, Find this Microsoft official plug-in .
Once installed , Click plug in settings .
Then go down and find Arduino:Path, Add your arduino route .
This basically completes the configuration .
then
Open one arduino Folder , Of course, you can build it yourself .arduino The directory is the same as the project file , I don't know whether it must be consistent or not. It's said that inconsistency has no effect .
At this time, the automatic completion and prompt will not come out , Because it doesn't have a configuration file yet , At this time, click the position at the bottom right of the status bar , Of course, I have configured it here 8266, If you don't configure it, click this location directly , A selection box will pop up , Just choose the right configuration ,
And then click
Let the compiler run once , In this way, a .vscode Catalog
These two are its configuration files , here , Look at the status bar in the lower right corner ,
The default here is win32 Switch to arduino At this point, autocomplete and jump header files can be used . In addition, if a new library is added , Also configure it here .
版权声明
本文为[Brick Porter]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210603257054.html
边栏推荐
- 2022.04.23(LC_763_划分字母区间)
- c#:泛型反射
- 简化路径(力扣71)
- Methods of nested recycleview to solve sliding conflict and incomplete item display
- 配置iptables
- Druid SQL和Security在美团点评的实践
- 中金财富怎么样?在上边开户安全吗
- 22 year flying Book manpower Kit
- Use Chenxi bookkeeping book to analyze the balance of revenue and expenditure of each account in a certain period of time
- Disable Ctrl + Alt + Del
猜你喜欢
ctfshow-web361(SSTI)
[popular science] CRC verification (I) what is CRC verification?
Introduction to micro build low code zero Foundation (lesson 3)
How to virtualize the video frame and background is realized in a few simple steps
mysql_linux版本的下载及安装详解
listener.log
The first leg of the national tour of shengteng AI developer creation and enjoyment day was successfully held in Xi'an
MVVM model
Druid SQL和Security在美团点评的实践
纠结
随机推荐
ESP32 LVGL8. 1 - anim animation (anim 16)
mysql_ Download and installation of Linux version
Nacos cluster construction and MySQL persistence configuration
Accessing private members using templates
Machine learning practice - naive Bayes
ESP32 LVGL8. 1 - slider slider (slider 22)
在渤海期货办理开户安全吗。
机器学习理论之(8):模型集成 Ensemble Learning
数据库上机实验四(数据完整性与存储过程)
Scrollto and scrollby
Introduction to ROS learning notes (II)
Use of kotlin collaboration in the project
解决:cnpm : 无法加载文件 ...\cnpm.ps1,因为在此系统上禁止运行脚本
ESP32 LVGL8. 1 - calendar (calendar 25)
Use Chenxi bookkeeping book to analyze the balance of revenue and expenditure of each account in a certain period of time
The corresponding permissions required to automatically open the app in the setting interface through accessibility service
Sentinel规则持久化进Nacos
7、 DOM (Part 2) - chapter after class exercises and answers
About the operation of unit file reading (I)
昇腾 AI 开发者创享日全国巡回首站在西安成功举行