Questions tagged [vscode]
The vscode tag has no usage guidance.
9
questions
1
vote
0
answers
79
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
106
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
134
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
2k
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, ...
2
votes
4
answers
18k
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
299
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
133
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
915
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 ...
3
votes
1
answer
9k
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 ...