Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 25 18:06
    adiazulay commented #1166
  • Jan 24 12:16
    BergenSoft edited #1188
  • Jan 24 12:15
    BergenSoft edited #1188
  • Jan 24 12:15
    BergenSoft opened #1188
  • Jan 23 14:38
    tapir commented #678
  • Jan 22 23:08

    adiazulay on v0.4.0-rc1

    pre release v0.4.0 (compare)

  • Jan 22 22:56

    adiazulay on develop

    remove IntelliSense Auto branch… (compare)

  • Jan 22 20:04
    adiazulay commented #1128
  • Jan 22 16:53
    adiazulay commented #1170
  • Jan 22 16:48
    adiazulay labeled #1181
  • Jan 22 16:48
    adiazulay labeled #1181
  • Jan 22 16:47
    adiazulay labeled #1178
  • Jan 22 16:47
    adiazulay closed #1178
  • Jan 22 16:47
    adiazulay commented #1178
  • Jan 22 16:46
    adiazulay labeled #1175
  • Jan 22 16:46
    adiazulay labeled #1175
  • Jan 22 16:45
    adiazulay labeled #1174
  • Jan 22 16:43
    adiazulay labeled #1185
  • Jan 22 16:43
    adiazulay closed #1185
  • Jan 22 16:43
    adiazulay commented #1185
Justin Arruda
@jarruda
@Joshinken are you saying the verify fails or is this intellisense that can't find it?
Joshinken
@Joshinken
2020-07-30 (1).png
@jarruda
Joshinken
@Joshinken
@jarruda you there?
Joshinken
@Joshinken
does anyone else have an idea
Rehan Tadpatri
@Phantom-Rehan
is it possible to print the time in the serial monitor?
like 11:09:23 Touch 1 Detected
11:09:98 Touch 2 Detected
Can anyone help me with this?
Joshinken
@Joshinken
I think the only way to do that is to have the arduino send the time along with anything youre sending over serial, and that might be difficult
rferrese
@rferrese
Hi, whats the process for getting a pull request looked at? I'd like to add a feature to clear the console output when you build / deploy (microsoft/vscode-arduino#1057)
Merange
@Merange
Hello
I try to connect to my ESP8266 Board and today I can't do it
I recieve this error message
Failed to open serial port COM5 due to error: + Error: The module '\?\c:\Users\moi.vscode\extensions\vsciot-vscode.vscode-arduino-0.3.2\out\node_modules\usb-detection\build\Release\detection.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 75. This version of Node.js requires
NODE_MODULE_VERSION 80. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
WHat's ahppening since last Visaul Sudio code update ?
Eric Nelson
@ecnelson
Quick question: does vscode-arduino work outside Azure? Can I open a .ino file in the Arduino IDE tree and have intellisense work? Compile works? Thanks
rhit-jacksocr
@rhit-jacksocr
Help! I cannot select my serial port. When choosing the option absolutely nothing happens. I have tried going back to older versions of the plugin and have also uninstalled and installed VScode.
biel-lava
@biel-lava
Hello!
I'm also having the same problem after the VS Code update. I can't open the Serial Monitor after uploading (need to declare the serial port in arduino.json manually since clicking the "Select Serial Port" does nothing).
rhit-jacksocr
@rhit-jacksocr
I finally got mine to work after going back to the version in releasd February. Reading through forums seems like a common problem. Just have to find the version that works for you I guess.
Benedikt Kantz
@Dakantz

@pngan

Also, whenever I select my board, and come back into this dialog, it does not show the board I selected previously.

I've reinstalled Ubuntu, VSCode and Arduino (using snap) this week and can't use the Board Manager as well as the Board selector anymore.
Anyone having the same issues/any solutions?
Thanks in advance!

Hello!
I'm also having the same problem after the VS Code update. I can't open the Serial Monitor after uploading (need to declare the serial port in arduino.json manually since clicking the "Select Serial Port" does nothing).

Reinstalling version 1.48.2 helped in my case https://code.visualstudio.com/updates/v1_48

Benedikt Kantz
@Dakantz
Solution: download Arduino IDE directly and do not use the snap one
Michael Hrivnak
@mhrivnak
I'm getting started with arduino and using the vscode integration, and I'm having trouble adding libraries. I use vscode a lot to write code in other languages, but I'm new to arduino, and my c++ is very rusty. I was hoping I could add a library to a "libs" folder in my project, add the path to c_cpp_properties.json's includePath, and be done. That's enabling vscode to offer code completion and such, but compilation still says the library is not found. How do I include a library at compile time?
Michael Hrivnak
@mhrivnak
Seems if I put the library into ~/Arduino/libraries/, then I can compile. I'd love to understand if there's a way to just vendor libraries as part of a project, vs. having a "global" libraries directory.
Ghost
@ghost~5f899a46d73408ce4ff1b0cd
Hi I am having problems with the serial -> i can't select it i tried many ways that were recomended on github but nothing helps i even tried setting the port in the arduino.json fill
johnpathe
@johnpathe
new ly set up code with arduino extension and when i click serial port nothing happens
Failed to open serial port /dev/ttyUSB0 due to error: + Error: The module '/home/john/.vscode/extensions/vsciot-vscode.vscode-arduino-0.3.2/out/node_modules/usb-detection/build/Release/detection.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 67. This version of Node.js requires NODE_MODULE_VERSION 80. Please try re-compiling or re-installing the module (for instance, using npm rebuild or npm install).
dont even have npm installed
johnpathe
@johnpathe

well i just tried spamming a few commands in...

closed code
opened term to /home/john/.vscode/extensions/vsciot-vscode.vscode-arduino-0.3.2
did sudo apt install npm
npm install (got lots of errors)
npm rebuild
npm install (still lots of errors)
restarted code

no more errors yet
johnpathe
@johnpathe
nope still errors when opening serial monitor
johnpathe
@johnpathe
well that sucked
Steve M
@stevemcilwain
I ran into all the same problems as everyone else running serial port monitor with this extension, so I made one using powershell that you can run in the terminal session: https://github.com/stevemcilwain/SerialPortMon
Jorge GOMEZ-SAAVEDRA
@jgome001_gitlab
Hello, I need some help setting up the VSCode Arduino extension from Microsoft. I am running Linux (20.04) and I have downloaded the Arduino IDE from the Ubuntu Store (1.8.13). I set the settings.json path and commandPath to /snap/bin and arduino respectively. Everything seems fine, however; I came across the error of not being able to select boards from the Board Configuration/Board Manager. The Change Board displays "No supported board is available" and the Board Manager says it has no boards.
3 replies
Darren Evans
@_DarrenEvans__twitter

I ran into all the same problems as everyone else running serial port monitor with this extension, so I made one using powershell that you can run in the terminal session: https://github.com/stevemcilwain/SerialPortMon

Same pain-point here. Very frustrating for a newcomer trying to follow the DevKit Getting Started tutorial on Microsoft Docs site with my MXChip. Uploading was fine once I manually entered "port": "COM7" into Arduino.json but trying to use the serial monitor feature threw error. In the end, to check telemetry was being sent I fired up Azure Cloud Shell in Windows Terminal and used the az iot hub monitor-events command. I eventually settled on using VS Code's integrated terminal with that azure CLI command so I could see telemtery firing up within VS Code. Also wondering if just using something like PuTTY tool would have worked. At least I managed to get past that issue and continue on through the Getting Started tutorial.

Jason Tranchida
@maddogjt
Hi all. I've been able to locally rebuild this extension with the fixes to get serial support working again, at least on windows. I'd be happy to publish vsix packages on my github if it would be useful for others.
Looking through the commit history for the repo, it seems like there nobody is actively maintaining this project or accepting pull requests. I'm considering forking the extension and publishing updated pacakges on the marketplace as a new extension, at least until the core team for this extension can dedicate the time needed.
Jason Tranchida
@maddogjt
Here's a build of the extension recompiled with the proper serial library versions. https://github.com/maddogjt/vscode-arduino/releases/download/v0.3.2%2Bserialfix/vscode-arduino-0.3.2+serialfix.vsix
Jonathan Lindsey
@JonathanLindsey
I'm new to the extension and using VS Code with Arduino. When I open the Arduino Blink example, more settings are set in the .vscode\arduino.json and .vscode\c_cpp_properties.json files than when I create a .ino file in a folder and then use the Arduino: Initialize command.
I noticed this because I had always had a red squiggle under the first line of my code and it had this error.
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (D:\Users\Jonathan\Desktop\Programming\Arduino and LabVIEW\PWM\ManualPWM.ino).C/C++(1696)
cannot open source file "avr/pgmspace.h" (dependency of "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Arduino.h")C/C++(1696)
Is there a reason for more settings being set in one case over the other (particularly with the includePath)?
Jonathan Lindsey
@JonathanLindsey
Well I'm still having difficulty getting all the IntelliSense and red squiggles to work correctly. I'm not really sure where to look for documentation.
rferrese
@rferrese
Pull Requests? Does anyone look at / approve PRs for this project?
Mitch Davis
@CapnKernel
Hello. I'm new to vscode-arduino. There's a library I'd like to add for my Arduino project, but the library doesn't appear in the Arduino Library Manager. How can I install that library?
Raghav
@nerdthatnoonelikes
Hello Im trying to use the arduino extension for vscode and i can select a serial port but when i try to change the board type it says no supported board available?, I have an arduino uno
Raghav
@nerdthatnoonelikes
any idea why it says that?
could it be because i dont have an official arduino uno?, this is an elego uno r3 and im able to use it with the arduino IDE so i dont think thats the issue
Cooper Baker
@cooperbaker
Hello. When building projects, is it possible to have colorized output from gcc for build errors, like it is on the command line? I can't figure out how to do this or if it's even possible with vscode-arduino... Please help.