Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to embed c# into a microcontroller

I need to switch off the light from a command from the pc. Is this possible using c#?

Does microcontroller recognize c# code?

like image 377
Raj Avatar asked Dec 01 '22 03:12

Raj


2 Answers

If you're looking for one, the Netduino is an Arduino-like board with .NET Micro Framework support integrated, and could definitely do what you're looking for.

like image 131
Jess Avatar answered Dec 05 '22 01:12

Jess


According to the way you asked the question, it seams that you are not much familiar with writing microcontrollers software. Although .NET Micro Framework exists for them and C# is supported, the general concept of microcontroller programming is quite different compared to desktop application programming. Unless you are willing to spend some time to study microcontrollers, I would recommend you to use some USB relay board instead and control relay directly from your desktop C# application where you feel like home.

You can take a look at this board which has C# examples, or take a look at this SOF topic where similar topic was discussed.

like image 31
avra Avatar answered Dec 05 '22 01:12

avra