Pages: [1]   Go Down
Author Topic: How to run Arduino on Visual Studio C#?  (Read 2129 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I already have visualmicro working on Visual Studio and Arduino software.

Do I add the .ino in my C# project on VS or upload it from Arduino software? VS gives an error "No Source Available" if I don't add.

Do I debug my C# on VS after I upload .ino? Or how?

I really don't know where to debug and upload .ino and the C# project and the processes. But I've got some sample codes.
Logged

0
Offline Offline
Jr. Member
**
Karma: 1
Posts: 68
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not simply use the Arduino IDE? It has built in debugging that works pretty well already, why make something harder than it needs to be.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Im working on Kinect WPF to control Arduino.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 222
Posts: 13867
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How do you want the kinect and the Arduino to communicate?
- serial
- ethernet
- wifi
- intermediate PC (my guess)

In the past there was a VS integration for Arduino discussed here.
If you search - in the upper right corner - you should be able to find relevant threads.


Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Belgium
Offline Offline
Full Member
***
Karma: 6
Posts: 135
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
ookid:  Why not simply use the Arduino IDE? It has built in debugging that works pretty well already,
 

@ookid , What sort of build in debugging are you using in the Arduino IDE ?.  I'm always interested in better ways of debugging with arduino.
Logged

Gear: Arduino- Uno,Due,Ethernet,  OLS, Buspirate, J-Link, TDS1002, Rigol DG1022

Lake District, UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 71
Electronics needs smoke to work, if it escapes its broken
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have just installed it again after they upgraded the Debugger plugin.

sounds like you need to go into the visual studio options and set the INO and PDE extensions so that it knows to use them.
it is explained on the visual micro website.

http://www.visualmicro.com/post/2011/10/09/How-to-fix-Arduino-code-color-coding-fails-in-Visual-Studio-when-a-file-first-opens.aspx
http://www.visualmicro.com/post/2011/10/04/How-to-test-a-new-installation-of-Arduino-for-Visual-Studio.aspx

I know why you dont want to use the arduino IDE
even if the others dont get it + because we can
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

AS I SAID ABOVE I'M WORKING ON KINECT SDK TO CONTROL AN ARDUINO. Where do I put the .ino project? in VS solution with .csproj or where? I have a .csproj contains Kinect code to control the input to the arduino. I also have .ino for the arduino. But how do I relate the .csproj and .ino?
Not to set up and the communication (cable/ethernet) is not a problem.
« Last Edit: March 02, 2013, 04:54:10 pm by Benita » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In the past there was a VS integration for Arduino discussed here.
If you search - in the upper right corner - you should be able to find relevant threads.



Thank you. I found the forum for visual micro and registered. How do I mark your message as the answer?
« Last Edit: March 02, 2013, 05:02:02 pm by Benita » Logged

Offline Offline
Sr. Member
****
Karma: 6
Posts: 429
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are some youtube tutorials on the main Visual Micro page, here is a beginners tutorial.

Logged

Pages: [1]   Go Up
Jump to: