当前位置:网站首页>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
边栏推荐
- Sentinel rule persistence into Nacos
- The type initializer for ‘Gdip‘ threw an exception
- mysql_ Download and installation of Linux version
- Machine learning theory (7): kernel function kernels -- a way to help SVM realize nonlinear decision boundary
- After CANopen starts PDO timing transmission, the heartbeat frame time is wrong, PDO is delayed, and CANopen time axis is disordered
- 程序员如何快速开发高质量的代码?
- Nacos cluster construction and MySQL persistence configuration
- STM32: LCD display
- Configure iptables
- How about CICC wealth? Is it safe to open an account up there
猜你喜欢
How to virtualize the video frame and background is realized in a few simple steps
ESP32 LVGL8. 1 - input devices (input devices 18)
Tangle
MVVM model
mysql_linux版本的下載及安裝詳解
机器学习实战 -朴素贝叶斯
ESP32 LVGL8. 1 - slider slider (slider 22)
Introduction to micro build low code zero Foundation (lesson 3)
Use bitnami / PostgreSQL repmgr image to quickly set up PostgreSQL ha
视频边框背景如何虚化,简单操作几步实现
随机推荐
The type initializer for ‘Gdip‘ threw an exception
Tangle
Use bitnami / PostgreSQL repmgr image to quickly set up PostgreSQL ha
#yyds干货盘点#stringprep --- 因特网字符串预备
机器学习理论之(8):模型集成 Ensemble Learning
解决:cnpm : 無法加載文件 ...\cnpm.ps1,因為在此系統上禁止運行脚本
Simple use of viewbinding
Raspberry pie uses root operation, and the graphical interface uses its own file manager
Esp32 (UART event) - serial port event learning (1)
ESP32 LVGL8. 1 - msgbox message box (msgbox 28)
Machine learning theory (8): model integration ensemble learning
ESP32 LVGL8. 1. Detailed migration tutorial of m5stack + lvgl + IDF (27)
22年字节跳动飞书人力套件三面面经
Use of content provider
Excel intercept text
The corresponding permissions required to automatically open the app in the setting interface through accessibility service
ESP32 LVGL8. 1 - bar progress bar (bar 21)
Nacos集群搭建和mysql持久化配置
【科普】CRC校验(一)什么是CRC校验?
解决:cnpm : 无法加载文件 ...\cnpm.ps1,因为在此系统上禁止运行脚本