Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [vscode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Portenta H7 with Breakout Board, USB A as client and USB-C as Host

Portenta H7 with Breakout Board. I would like to use the USB-A on Breakout Board as a client to send debug messages back to the terminal. USB-C on the H7, I would like to use as a Host for Keyboards ...
Dave by 2's user avatar
1 vote
0 answers

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. ...
John's user avatar
  • 123
2 votes
1 answer

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 ...
David's user avatar
  • 125
0 votes
1 answer

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/...
Mark's user avatar
  • 393
2 votes
3 answers

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, ...
Samuel R's user avatar
2 votes
4 answers

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 ...
exo's user avatar
  • 57
5 votes
1 answer

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 ...
Llaves's user avatar
  • 261
2 votes
0 answers

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 ...
Llaves's user avatar
  • 261
1 vote
1 answer

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 ...
Llaves's user avatar
  • 261
3 votes
1 answer

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 plugin and (after getting ...
wileyrivers's user avatar