Questions tagged [visualstudio]
Visual Studio is an integrated development environment (IDE) from Microsoft.
37 questions
1
vote
0
answers
349
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. ...
1
vote
0
answers
62
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 ...
1
vote
0
answers
85
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 ...
1
vote
0
answers
323
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 ...
1
vote
0
answers
182
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 ...
1
vote
0
answers
56
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 ...
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 ...
0
votes
1
answer
190
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 ...
0
votes
2
answers
204
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 ...
1
vote
2
answers
543
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.
0
votes
1
answer
159
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 ...
0
votes
2
answers
84
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 ...
0
votes
1
answer
219
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 ...
-1
votes
1
answer
58
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 ...
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 ...
1
vote
1
answer
84
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
...
1
vote
0
answers
139
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 #...
3
votes
1
answer
176
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 ...
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 ...
3
votes
2
answers
422
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 ...
0
votes
3
answers
637
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 ...
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,;...
1
vote
1
answer
535
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 ...
-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 ...
0
votes
1
answer
227
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;
...
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 ...
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 ...
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 ...
1
vote
1
answer
865
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 ...
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 ...
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 ...
2
votes
0
answers
170
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 ...
2
votes
0
answers
738
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 ...
0
votes
1
answer
66
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?
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 ...
2
votes
0
answers
387
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)...
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)...