Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • Jan 20 15:05
    PTS93 opened #957
  • Jan 17 08:50
    raomin commented #946
  • Jan 17 08:47
    raomin synchronize #946
  • Jan 17 07:07
    hellyzh commented #946
  • Jan 17 03:31
    hellyzh labeled #952
  • Jan 16 22:52
    bec3x commented #791
  • Jan 16 15:58
    raomin commented #946
  • Jan 16 01:41
    hellyzh commented #946
  • Jan 15 20:18
    raomin commented #946
  • Jan 15 05:08
    cschaffter commented #438
  • Jan 14 16:49
    abdirk edited #956
  • Jan 14 16:32
    abdirk opened #956
  • Jan 13 03:39
    hellyzh commented #816
  • Jan 13 01:51
    sreebhargava143 commented #816
  • Jan 13 01:45
    hellyzh commented #816
  • Jan 12 12:00
    stoonoon unassigned #776
  • Jan 12 12:00
    stoonoon unassigned #776
  • Jan 12 12:00
    stoonoon commented #776
  • Jan 11 18:31
    MatthewSteeves commented #891
  • Jan 11 18:26
    MatthewSteeves commented #891
nvm found it in %USERPROFILE%/.vscode and it was located in the following file %USERPROFILE%.vscode\extensions\vsciot-vscode.vscode-arduino-0.2.27\out\src\arduino
Does anyone know how to use a USB port instead of a serial interface when uploading? Trying to setup vscode to work with a digispark pro 16Mhz. I manually added the board and programmer by modifying the relevant .js files. Not sure what needs to be done to get it uploading via usb as arduino does it. There isn't a COM interface for this device.
Is there way to get VSCode to upload to a pro trinket? It uses bitbanging and there isn't a com port. A google search suggests adding "port": "/dev/cu.usbserial-A6008bj4", to the json but it doesn't work for me on windows, it looks like a linux or mac thing.
In case anyone finds this I figured it out. First you have to select the programmer you want to use (F1 then type Arduino: Select Programmer) then you can't use the upload button you have to use the command pallet to do it (F1 then type Arduino: Upload Using Programmer). You also need to add "port": "COM 1" to your arduino.json file. Pretty sure you can put anything as the port, it just needs something there to get past the no port configured prompt.
Haritz Aryandra Gits
are there anyone here have using signal-r?
Liya Du
@haritz-aryandra what's your scenario for using that?
Hi Guys, I just installed this Arduino plugin. One thing that is not working is that the arduino build output is not being parsed for errors and problems are not created. Is this normal?
๐ŸŒป ๐™ผ๐šŽ๐šŠ๐š๐š˜๐š  ๐–€๐–›๐–† ๐•ฎ๐–Ž๐–‡๐–Š๐–—๐–“รฉ๐–™๐–Ž๐–ˆ๐–† ๐™ด๐š•๐š•๐š’๐šœ ๐ŸŒป
hey! I've been using the plugin for a very long time and I love it, but just now I tripped over something weird: it cannot locate <EEPROM.h>. But it works with all other stdlibs like SPI.h, Wire.h and all that. Also, it works in the IDE, but not in Code. I thought it was something common but I cannot find anything useful online... also, the same happens on Windows and macOS. Has anyone seen this happen?
Ahmed khairy
error: pinDefines.h: No such file or directory
the library is there , but it keep giving me this error
Anyone here had success programming an ATtiny85 with VSCode (via an Arduino UNO)?
That was supposed to be a search LOL
Anyone having issues with this on macOS Catalina?
I am seeing this kind of crap and it is taking much longer to compile.
2019-10-14T22:16:33.505Z INFO c.a.u.n.HttpConnectionManager:148 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x04E8/0x6860, method=GET, request id=44F7A26BA955446A
2019-10-14T22:16:34.661Z INFO c.a.u.n.HttpConnectionManager:152 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Request complete URL="https://builder.arduino.cc/builder/v1/boards/0x04E8/0x6860", method=GET, response code=404, request id=44F7A26BA955446A, headers={null=[HTTP/1.1 404 Not Found], Cache-Control=[no-cache, no-store, must-revalidate], Server=[nginx], Connection=[keep-alive], Vary=[Origin], Pragma=[no-cache], Expires=[0], Content-Length=[0], Date=[Mon, 14 Oct 2019 22:16:34 GMT]}
2019-10-14T22:16:34.664Z WARN p.a.h.BoardCloudResolver:64 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Fail to get the Vid Pid information from the builder response code=404
I'm having an issue that the extension can't find all my libraries
Mike Kinney
@bzeeman I'm having the same issue.
Nikos Mouratidis
@bzeeman Same issue on Windows10 x64. The issue appeared today, when I upgraded Arduino IDE from 1.8.6 to 1.8.10.
What is that?
@bzeeman Is it only those 3 lines for you?
Nikos Mouratidis
For me each compile is now 432 lines of output! (including the 3 lines you submitted)
Before it was just:
'''Sketch uses 1562850 bytes (79%) of program storage space. Maximum is 1966080 bytes.
Global variables use 60460 bytes (18%) of dynamic memory, leaving 267220 bytes for local variables. Maximum is 327680 bytes.'''
Now that message is hidden inside 432 lines of output!
Nikos Mouratidis
OK. My issue is this:
Downgrading to Arduino 1.8.9 ASAP
I just joined this and started using vs-studio arduino and experienced that folding is not working on curly brace but on indent..... what am I doing wrong?
Eric Nelson
Just checking if intellisense works when you're NOT inside Azure IoT. Can I create a new Arduino project and have it just work? In the past that was more or less impossible, but I thought I'd check in to see if anything got better. Thanks & bestโ€ฆ
Peter Wone
@riker65 Arduino code is C with specific libraries and some conventions. It's all about getting your paths right. Behaviour of the editor is as for C/C++. This extension delegates some functionality to the Arduino IDE (build process things) which is unfortunate as I'd rather not have my system polluted by Java.
ISNโ€™T ARDUINO CODE C++? I mean C is contatined within C++, but Arduino libraries have explicit objects like String
Timothy Blue

I'm trying to use the ArduinoJson library but I VSCode keeps telling me that classes are undefined. Any ideas?

#include <Arduino.h>
#include <ArduinoJson.h>

void setup() {
  StaticJsonDocument<200> doc; // <- I get error squiggles here saying 'identifier "StaticJsonDocument" is undefined'

This is my c_cpp_properties.json:

  "configurations": [
      "name": "Win32",
      "includePath": [
      "forcedInclude": [],
      "intelliSenseMode": "msvc-x64"
  "version": 4
I love VS code, but I have been fighting with this issue for 2 days and I need to get something accomplished :-). Any input would be awesome!
hi need some help
i've an external core installed at the arduino path, in hardware folder
e.g. arduino-1.8.9/hardware/core
the boards from the core is visible in the arduino IDE
but it isn't visible in the extension
is there a way i can make the extension recognise the core?
the core is actually an stm32duino core
which i placed in the ${arduino_path}/hardware folder
guys i need help in this
Create a program that will blink two LEDs; one red, one green, alternately. That is, when the red LED comes on, the green should turn off and when the green comes on, the red should turn off. The red should be on for two seconds and the green should be on for one second. At no time should both LEDs be on simultaneously or off simultaneously (at least not within ordinary human perception). This blinking pattern should repeat over and over: red on for two seconds, green on for one second, red on for two, green on for one, and so on.
any one can help!
with bitmask :(
loop() {
Liam Arbuckle
Hey what is this for? Anything i can help with?
geting a functional intellisence for Serial object needs to add "USBCON" in the defines section of c_cpp_properties.json.
In a future release, could you add this config line in the arduino.js file directly to get it always right ?