Questions tagged [vscode]
The vscode tag has no summary.
10 questions
0 votes
0 answers
70 views
Visual Studio Code - intellisense issue
Just started with Arduino Community Edition for Visual Studio code. I can select the com-port, Arduino model, build and upload the code all is working fine. I have a intellisense problem I am not ...
1 vote
0 answers
506 views
How can I get the serial monitor in vs code to automatically connect and disconnect when uploading to my arduino?
I am using an Arudino Nano with VS Code and PlatformIO. When developing. I want to streamline the process so that when I press 1 hotkey. It will automatically disconnect the Serial Monitor. Build. ...
2 votes
1 answer
132 views
Why is sensitivity (threshold) parameter ignored
Analog pontentiometer connected to an Arduino. simplest possible setup. The goal is to send a message over Serial whenever the value changes. I do not want to spam the Serial connection to much, so ...
0 votes
1 answer
292 views
Best way to "hack" a library without forking it
I'm using Visual Studio Code and PlatformIO. I added some libraries to my project using platformio.ini: lib_deps = olikraus/U8g2@^2.34.4 crankyoldgit/IRremoteESP8266@^2.8.4 plerup/...
2 votes
3 answers
7k views
Using Visual Studio Code to program an Arduino
I had recently got an Arduino Uno and did quite a few programs on it. Now, I had always used Visual Studio Code to do my C projects. So, is it possible to use Visual Studio Code to program an Arduino, ...
3 votes
4 answers
39k views
esp32, platformio A fatal error occurred: Packet content transfer stopped (received 8 bytes) *** [upload] Error 2
When i try to upload code to the esp32 the following error shows up in the command line: A fatal error occurred: Packet content transfer stopped (received 8 bytes). I use platformio in VScode the ...
5 votes
1 answer
414 views
VSCode vs. Arduino IDE - same program, different behavior
I've got this simple program for testing DS18B20 temperature sensors. #include "OneWire.h" #include "DallasTemperature.h" #define ONE_WIRE_BUS D3 // Setup a oneWire instance to ...
2 votes
0 answers
186 views
Stop VSCode/Arduino add-in from sending reset signal in the event of compile errors
This is more of an annoyance, but if I edit a program with the serial monitor open, click "upload", and the compile fails, the IDE switches to the serial monitor pane, opens the serial port ...
1 vote
1 answer
1k views
Compiling for Wemos D1 mini with Visual Studio Code
I'm giving Visual Studio Code (VSC) a try and am getting unexpected results. I have a program (sketch) that compiles fine in the Arduino IDE. I create a workspace in VSC, initialize the project, and ...
4 votes
1 answer
14k views
Help solving "collect2.exe: error: ld returned 1 exit status" error in code
I just got an Elegoo UNO starter kit the other day and have been working my way through the little tutorials on all the parts it came with. I am using VSCode with Platform.io plugin and (after getting ...