当前位置:网站首页>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
边栏推荐
- Redis common interview questions
- Domestic GD chip can filter
- Simple use of navigation in jetpack
- ctfshow-web362(SSTI)
- mysql_ Download and installation of Linux version
- Simplified path (force buckle 71)
- iptables -L执行缓慢
- [popular science] CRC verification (I) what is CRC verification?
- mysql_linux版本的下载及安装详解
- Sentinel规则持久化进Nacos
猜你喜欢
12个例子夯实promise基础
【历史上的今天】4 月 23 日:YouTube 上传第一个视频;网易云音乐正式上线;数字音频播放器的发明者出生
Résolution: cnpm: impossible de charger le fichier... Cnpm. PS1 parce que l'exécution de scripts est désactivée sur ce système
Use bitnami / PostgreSQL repmgr image to quickly set up PostgreSQL ha
MVVM model
ESP32 LVGL8. 1 - textarea text area (textarea 26)
ctfshow-web362(SSTI)
使用 bitnami/postgresql-repmgr 镜像快速设置 PostgreSQL HA
Machine learning theory (8): model integration ensemble learning
机器学习理论之(7):核函数 Kernels —— 一种帮助 SVM 实现非线性化决策边界的方式
随机推荐
Machine learning practice - naive Bayes
ESP32 LVGL8. 1 - input devices (input devices 18)
程序员如何快速开发高质量的代码?
Use stm32cube MX / stm32cube ide to generate FatFs code and operate SPI flash
纠结
Seata处理分布式事务
Druid SQL和Security在美团点评的实践
About the operation of unit file reading (I)
机器学习实战 -朴素贝叶斯
The corresponding permissions required to automatically open the app in the setting interface through accessibility service
RPM package management
ESP32 LVGL8. 1 - slider slider (slider 22)
mysql_ Download and installation of Linux version
ESP32 LVGL8. 1 - calendar (calendar 25)
Iptables - L executes slowly
How about CICC wealth? Is it safe to open an account up there
Practice of Druid SQL and security in meituan review
Use of content provider
Database computer experiment 4 (data integrity and stored procedure)
The first leg of the national tour of shengteng AI developer creation and enjoyment day was successfully held in Xi'an