How can I port an Arduino program to .net for use on a Netduino?
Asked Answered
I

3

7

I have a program written with the standard Arduino IDE in C. Is there any way that I can port my program to C# so I can use it with .net and my Netduino?

Intervenient answered 9/4, 2013 at 19:6 Comment(0)
N
6

With enough time, most certainly. You will probably run into problems when your Arduino C/C++ project uses AVR-specific hacks and options like timers and interrupts. From my understanding you can do these more advanced things on the Netduino but there is a significantly different way you'll have to go about coding it.

In order to effectively port the code you'll need a good understanding of C, a strong understanding of C#, as well as the Arduino and Netduino build process, coding conventions, APIs, etc.

Nymphet answered 9/4, 2013 at 21:10 Comment(0)
P
0

The Netduino has absolutely nothing to do with an Arduino.

If there isn't a library which understands the Arduino library (like [digitalWrite()]), then you'll need to write those functions in whatever language the Netduino uses.

Physiologist answered 22/4, 2013 at 2:8 Comment(0)
O
-1

There's a rough correspondence, but it takes a lot of manual transcoding to port.

Ossa answered 9/4, 2013 at 19:31 Comment(1)
Well sorry... This does not really help :)Waugh

© 2022 - 2024 — McMap. All rights reserved.