Pages: [1]   Go Down
Author Topic: Arduino .NET library.  (Read 1587 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Dear Arduino friends,

I wrote arduino communication library for .NET framework and would like to ask if you would like to see it here? I have already released it in Lithuanian, but if there would be and interest - I would rewrite it for English guys smiley Any  suggestions appreciated.
Here is a class diagram:
Logged

Leeds, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 134
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What exactly does it do? Does it connect to the arduino and run commands on it or is it an approximation of the code you'd write for the Arduino?

Have you looked at the .Net Micro framework?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What exactly does it do? Does it connect to the arduino and run commands on it or is it an approximation of the code you'd write for the Arduino?

Have you looked at the .Net Micro framework?

It is library for .NET applications (dll file) to simply communicate with arduino. Send external commands etc.
Logged

Leeds, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 134
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah OK, that's cool. Do you need a special sketch on the Arduino for it to work?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah OK, that's cool. Do you need a special sketch on the Arduino for it to work?

Yes. Looks like:

Code:
#include <ArduinoNET.h>

ArduinoNET NET;
void setup()
{
  NET.start(19200, false);
}

void loop
{
  NET.work();
}
Logged

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

Im trying to understand what I could use this for. 
Is its purpose to provide a way to minimise the amount of code I would need to write on the Arduino itself?
If so I can see an advantage here - I have the nice easy C# environment in which to write code, I have access to lots of memory, can provide a nice UI, do stuff on the internet etc etc, all real easy.   I want to switch something on and off, just use digitalWrite correct?

That would be useful I reckon, some things seem messy on the Arduino - eg accessing the internet.

The disadvantage is I would need to leave my PC on 24/7.

Have I got it right?

Logged

Pages: [1]   Go Up
Jump to: