8 votes
Accepted

Can I use Visual Studio instead of Arduino IDE?

I only use Visual Studio for Arduino programming. Arduino Plugin for Visual Studio
beater's user avatar
  • 204
5 votes
Accepted

Project wont compile when I place functions below function calls

You need to declare your function before you use it. So either the whole function body needs to be before the usage, or you must add a function prototype declaration. void myfunction(); myfunction()...
David Jones's user avatar
3 votes
Accepted

Upload application from Visual Studio 2019 with PlatformIO

I have final solution for uploading application from VS 2019. Visual Studio have Tools > External Tools... where is possible add the PlatformIO command for uploading application pio run -v -t upload ...
Abedron's user avatar
  • 141
3 votes

Using Serial Plotter with Visual Studio Code

Without very specialized software that can create two new devices with the correct "teeing" policy, it's not going to be possible. Only one program can open a serial port at a time (certainly and ...
Majenko's user avatar
  • 105k
2 votes

Can I use Visual Studio instead of Arduino IDE?

Note, this answer is not technically for the full edition of Visual Studio, rather Visual Studio Code. Microsoft has released an Arduino extension for VS Code that can do most (all?) of the required ...
The Thirsty Ape's user avatar
2 votes

Can I use Visual Studio instead of Arduino IDE?

Atmel Studio 7 which is built with Visual Studio. Google "Atmel Studio 7" or click here. It has everything you want and it's released by the company that makes the atmega328 your Arduino is built on.
PhillyNJ's user avatar
  • 1,178
2 votes
Accepted

Project structure to build for PC and Arduino

I haven't done it yet, but you could do the following things to get a somewhat close approximation: Make three different projects, one for the PC (only), e.g. Visual Studio, and one for Arduino (with ...
Michel Keijzers's user avatar
2 votes
Accepted

Serial Getting Garbage Data with real data

The Arduino should read only whole lines (non-newlines until a newline). Discard the line if it doesn't start with "stat>". This will make your program more robust and less likely to fail with bad ...
JRobert's user avatar
  • 15.3k
2 votes

See compiled assembly output (Visual Micro)

Turn on Verbose Compiling in the Arduino IDE and you will see all the intermediate file names (they are done in a temporary folder). For example: /home/nick/Development/arduino-1.6.7/arduino-builder ...
Nick Gammon's user avatar
  • 38.2k
1 vote

Error messages while verifying code with Visual Studio Code

It works with Arduino IDE either 1.8.9 OR 1.8.12 BUT the VS code extension is broken. So You have to downgrade to January release 1.42 AND Then turn off automatic updates for the moment. How to get ...
Codebreaker007's user avatar
1 vote

Latest news about alternative Arduino IDEs

I use the Arduino IDE to 'build' everything. However, in case of a bigger project, I use a 'decent' code editor (Visual Studio in my case) to edit, and the Arduino IDE to build. Also, because I ...
Michel Keijzers's user avatar
1 vote

Upload application from Visual Studio 2019 with PlatformIO

I am using Visual Studio Code, but I suppose the plugin works similar in Visual Studio. Look at the screenshot below. In red rectangle you have "Project tasks options", where you can find "Upload" ...
JSC's user avatar
  • 116
1 vote

How to Compile Different Sketches in Different Visual Studio Code Workspaces

The first time you verify your sketch you are confronted with a list of available sketches (INO's). As soon as you select one of these it gets stored under "sketch" in .vscode/arduino.json. If you ...
Enok82's user avatar
  • 11
1 vote

Arduino IDE loses programmer after installing Visual Micro

Uninstalled and installed 1.9.0 as I heard that fixes the launch time (it does). I'm aware it's beta but it fixed my issue. I assume reinstalling 1.8.5 would've also gotten me my programmer back.
rory's user avatar
  • 31
1 vote
Accepted

Cant connect to localhost

Visual Studio's web server is restricted to only servicing clients on the machine it is running on. To do what you want to do there are a number of things you can do. Get a full licensed copy of IIS. ...
Code Gorilla's user avatar
  • 5,637
1 vote
Accepted

Arduino IDE/Visual Micro - Undefined reference to constructor

You're using a template class. A template class is a special corner case that breaks the "code in .cpp and definitions in .h files" rule. Because it's a template it can't be pre-compiled - it needs ...
Majenko's user avatar
  • 105k
1 vote

Visual Studio for Arduino - Deep Search Issue

I had the same problem and just tried it as per1234 suggested: installed the full windows version (not the windows app version), configured the VS extension accordingly and now it builds (same code).
Lucian's user avatar
  • 11
1 vote

Visual Studio for Arduino - Deep Search Issue

If I remember well, you have to "import" the libraries for your project from within Visual Micro.
BernardG's user avatar
  • 175
1 vote

Visual Studio integration with Arduino

I think it is the de facto standard for VS (of course the default Arduino IDE is used most). However, I think some advanced features (like breakpoint if I recall right) is only temporarily for free ...
Michel Keijzers's user avatar
1 vote

Sending information via USB/Serialport

I imagine Code Gorilla's given you the proper, specific answer you needed. I simply wanted to address your first (more general) ask, Am I able to send instruction from my computer, from another ...
Zaeche's user avatar
  • 11
1 vote
Accepted

How to exclude a ino/pde file from Arduino projects

One possible approach is to guard the body of that sketch with an #ifdef ... #endif pair, and use Visual Micro's “Project Properties” to define (or not) a preprocessor symbol. [If the .ino or .pde ...
James Waldby - jwpat7's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible