Questions tagged [visualstudio]

Visual Studio is an integrated development environment (IDE) from Microsoft.

Filter by
Sorted by
Tagged with
1 vote
0 answers
169 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. ...
John's user avatar
  • 123
1 vote
0 answers
57 views

Adding RTC Library for Arduino Project in Visual Studio

I am working in an Arduino project in visual studio. I need to get and set time to a RTC clock. That's why I am adding a ds3231 header file in my project from GitHub. When I want to build "it's ...
Iqbal Hossain's user avatar
1 vote
0 answers
78 views

My arduino gives me several avrdude erros

For school we program an arduino with visual studio and micro visio. Since a few days ago my arduino wont run the code of the arduino. At first it didnt give any errors until i tried to upload a code ...
geekpeek's user avatar
1 vote
0 answers
267 views

Having trouble compiling in VsCode when including arduino libraries. (Win10)

I recently switched over to Visual studio code and away from the arduino IDE though I am a novice at both. When using VSC and the neopixel library and sample code(strandtest) containing animations ...
mattr's user avatar
  • 11
1 vote
0 answers
170 views

Computer freezes while collecting serial data from Arduino Uno

I am an arduino noob. I have been searching for some interesting arduino projects recently and making a game controller using Arduino UNO seemed interesting. So I hooked up two dual-axis joystick ...
Mukesh M's user avatar
1 vote
0 answers
50 views

How do I set up bluetooth to wirelessly control servo's connected to an arduino from my PC?

I have been working on a project that includes two servos, one is on X axis the other is Y, the Arduino takes my cursor's X,Y coordinates over a Visual C# program and translates them through the ...
4ourHearts's user avatar
1 vote
1 answer
2k views

Error messages while verifying code with Visual Studio Code

I move recently to use Visual Studio Code to develop for arduino. But I'm receiving some error messages while I'm trying to verify my code that confuse me. The messages are: 2020-04-12T13:53:40.409Z ...
Daniel Calvo's user avatar
0 votes
1 answer
176 views

Uno - error during uploading with library

I'm writing the code in VS Code on IO Platform. Yesterday i finished my code and uploaded it to the Arduino Uno. It works fine. Next day i launched the VS Code and i changed the code a bit, then i ...
Author Climent's user avatar
0 votes
2 answers
198 views

Latest news about alternative Arduino IDEs

I simply hate the default Arduino "IDE". On Windows I use Visual Studio Code with the related plugin. Now I have a Ubuntu machine and I'm looking for the definitive IDE. Questions: I'm not sure ...
Mark's user avatar
  • 393
1 vote
2 answers
536 views

Upload application from Visual Studio 2019 with PlatformIO [closed]

How upload application from Visual Studio? I can’t find upload process from standard VS in documentation https://docs.platformio.org/en/latest/ide/visualstudio.html I hate VS Code.
Abedron's user avatar
  • 141
0 votes
1 answer
154 views

Interrupts arduino interrupting serial comunication

I have problem with communicating VB.Net-Arduino. It seems the interrupt pause my serial communication line in void loop() { ... }. I don't know what to do, and I can't erase interrupts line since I ...
Fitrah Hidayat's user avatar
0 votes
2 answers
60 views

Project wont compile when I place functions below function calls [closed]

I use VSCode, not the Arduino IDE. I saw and tried to use a lot of code snippets which are provided for Arduino projects... So when I copy/paste these examples into my VSCode and try to compile it ...
Jan's user avatar
  • 103
0 votes
1 answer
213 views

How to Compile Different Sketches in Different Visual Studio Code Workspaces

I'm using Visual Studio Code with the Arduino extension. I have two workspaces each with a different sketch file loaded - Sketch_1 and Sketch_2. Sketch_1 will verify and upload properly. When I click ...
Don's user avatar
  • 1
-1 votes
1 answer
56 views

Is it possible to simultaneously acquire 2 values from the Arduino? [duplicate]

I am currently making a project using a resistive touch screen and an Arduino Uno. The resistive touch screen outputs an X and Y coordinate pair, which I then want to be able to read and output on an ...
imhotraore's user avatar
3 votes
2 answers
5k views

Using Serial Plotter with Visual Studio Code

I'm using the Visual Studio Code extension to develop for Arduino which works great. It doesn't have a Serial Plotter like the regular Arduino IDE, which I need to debug this project. I can run the ...
Joel Spolsky's user avatar
1 vote
1 answer
80 views

Arduino IDE loses programmer after installing Visual Micro

I had this added to programmers.txt mysmartusb.name=mySmartUSB light mysmartusb.communication=serial mysmartusb.protocol=stk500v2 mysmartusb.program.protocol=stk500v2 mysmartusb.program.tool=avrdude ...
rory's user avatar
  • 31
1 vote
0 answers
130 views

Is there a equivalent to #define DEBUG 0 declare by VS2017 with VisualMicro (arduino) project?

Especially on ESP32*/8266, when you select debug (debug/release) : as a target, VisualMicro detect it and start the simple debugger (without JTAG). Do you know if when target is debug, is there a #...
E.Racineux's user avatar
3 votes
1 answer
163 views

Project structure to build for PC and Arduino

Recently I have started developing for Arduino Uno. I have 10 years experience in software development (C#, Delphi), but not much with C/C++. Compiling the Arduino sketches seems a little slow, and ...
morcibacsi's user avatar
0 votes
2 answers
2k views

Visual Studio for Arduino - Deep Search Issue

Finally got some time to play with my Arduino. I downloaded the Arduino editor and wrote a quick sketch which worked fine. I then downloaded the Visual Studio extension from VisuaMicro. I configured ...
BENBUN Coder's user avatar
3 votes
2 answers
414 views

Visual Studio integration with Arduino

I use Visual Studio 2015 extensively for work, so it would seem like a logical choice for getting started with Arduino programming (though my C/C++ is rusty, that may take some time to get back). From ...
snappymcsnap's user avatar
0 votes
3 answers
605 views

Sending information via USB/Serialport

Am I able to send instruction from my computer, from another compiler, via the Arduino USB port? To put this in context, I'm doing some vision processing on my computer, with Visual Studio, and I ...
David The Gamer's user avatar
0 votes
1 answer
2k views

Serial Getting Garbage Data with real data

I have made an app in VS2015 C#.Net which sends data to Serial port. The data i am sending is: stat>temp:39,38,;load:17,4,42,;fans>50,50,; Where as I am receiving: ððððstat>temp:39,38,;...
echo_salik's user avatar
1 vote
1 answer
526 views

Cant connect to localhost [closed]

I have a project um Visual Studio with a GET method: http://localhost:4548/Arduino/request?id=12&user=username&pass=password When I open it in my browser, it works fine But I want http GET in ...
Lugarini's user avatar
  • 147
-2 votes
1 answer
1k views

Arduino Parse data serially on VB [duplicate]

I am working with Arduino Uno, I have tracker application running on Arduino Uno board. I am sending data in comma separated value. Now I want to view data into Visual Basic. I have code as below. The ...
user50949's user avatar
0 votes
1 answer
214 views

Significant drop in speed between Arduino IDE and Visual Studio?

So, I'm not sure what is causing this, but maybe I'm overlooking something simple. I have a simple program designed to read the analog input at 640 Hz, it looks like this: int Ch0 = 0; int count = 0; ...
Scorch's user avatar
  • 149
0 votes
1 answer
1k views

How can i receive data from Mega2560 on PC with Visual C#

How can i receive the data from my Arduino Mega 2560 with Visual C# on my PC. I send a short databyte (2 bytes) and a timestamp (4 bytes) over USB to PC //initialization const int RX = 0; const int ...
sniffi's user avatar
  • 49
0 votes
1 answer
1k views

Arduino IDE/Visual Micro - Undefined reference to constructor

I am using Visual Studio Community 2015 with the newest version of the Visual Micro Arduino Plugin, however I also tried compiling my code in the Arduino IDE. When compiling my code, there is the ...
benjs's user avatar
  • 3
8 votes
4 answers
8k views

Can I use Visual Studio instead of Arduino IDE?

I think that Visual Studio is a great product! I find the Arduino IDE is limited in its features. For example the Arduino IDE does not have: Code prediction Error highlighting Previews of #define ...
sa_leinad's user avatar
  • 3,188
1 vote
1 answer
840 views

How to exclude a ino/pde file from Arduino projects

I would like to be able to exclude from the auto-including process of the current project (without renaming the extension or delete it) a sketch with pde or ino extension that is used in certain ...
xxx's user avatar
  • 15
1 vote
1 answer
1k views

See compiled assembly output (Visual Micro)

I'm curious about what some of my code is being compiled into, is there a way to have the compiler save the intermediate assembly files, ideally somewhere in the project folder? I read some forum ...
Bob's user avatar
  • 175
0 votes
2 answers
2k views

Visual Micro without .ino files

I am using the visual micro extension for Visual Studio 2015. I would like to not use any .ino files since I'm trying to setup cppcheck which doesn't recogonize .cpp files, and its just what I'm used ...
Bob's user avatar
  • 175
2 votes
0 answers
169 views

Arduino IDE Visual Studio and compile problems blank project .ino hack

I'm new to Arduino and have little programming experience apart from my computer science degree. I used C++ for some projects in my degree but am barely proficient. My first project is relatively ...
Kahurangikea's user avatar
2 votes
0 answers
715 views

Arduino Uno - Firmata/Serial Communication in Visual Studio C++

I need to pass std::vector <double> values from a C++ console program (written in Visual Studio 2015) running on a PC to Arduino in real-time using USB serial communication. Can anyone of you ...
PRS_'s user avatar
  • 21
0 votes
1 answer
65 views

How do I add additional compiler switches in Visual Studio

Using Visual Studio to program my Arduino. I want to add additional compiler switches and include paths. How can this be done?
Visual Micro's user avatar
  • 1,027
0 votes
4 answers
467 views

Testing Arduino with Visual Studio Community 2013 raise LNK error

I have two projects in my Visual Studio Community 2013 solution. I created a project for Arduino, and create another project for Test. When I run the project tests without adding the Arduino project ...
Robert's user avatar
  • 159
2 votes
0 answers
385 views

Problem in Uploading through Visual Studio

This is my simple program: int led = 13; void setup() { pinMode(led, OUTPUT); /* add setup code here */ } void loop() { digitalWrite(led, HIGH); delay(1000); digitalWrite(led, LOW)...
Shiran Abbasi's user avatar
5 votes
2 answers
2k views

Can I switch from Arduino IDE to Atmel studio or Visual Micro but still use Arduino library?

If switch from Arduino IDE to Atmel studio or Visual Micro, how to use existing Arduino library? Library serves important function of 'packaging' real and complex hardware (like NRF24L01 radio board)...
EEd's user avatar
  • 904