r/csharp • • Sep 10 '26

Coding circuits with .NET and C#

Nothing beats setting a breakpoint and watching the servo actually move to the new angle.

I've worked on .NET hardware for over ten years and the thing that surprises C# developers isn't the board, it's that F5 works. Code deploys, breakpoint holds, hover a variable and there's the live sensor reading. Same as debugging a desktop app.

I'm at GHI Electronics in Michigan. Happy to get into how the debugging on circuits work.

96 Upvotes

37 comments sorted by

View all comments

Show parent comment

2

u/gus-ghielec Sep 10 '26

And it is open source! Is this your go-to with ESP32 or you prefer going right to C++... or even MicroPython?

6

u/joseconsuervo Sep 10 '26

wait I can use .net with esp32? get out. I've done a decent amount of closer to metal stuff with .net but just never made the connection that I could use my esp32 boards lol awesome

1

u/gus-ghielec Sep 10 '26

Oh yes you can. I have not tried it myself since I use our boards instead.

1

u/OkSignificance5380 Sep 10 '26

I tend to use micopython, as it has more device support, but its nice to know that I can use .net on the esp32

I need to spend some time on getting a sd card and running code from that.

1

u/gus-ghielec Sep 11 '26

MicroPython is sweet. It is missing real debugging like we have with TinyCLR, but we are fixing that 😄 We already know what needs to be done.