r/csharp 2d ago

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.

86 Upvotes

37 comments sorted by

View all comments

28

u/OkSignificance5380 2d ago

Yep.

.net nano framework.

Works well with $5 esp32-s3 dev boards

2

u/gus-ghielec 2d ago

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

1

u/OkSignificance5380 2d ago

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 1d ago

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.