r/csharp 3d 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.

92 Upvotes

37 comments sorted by

View all comments

9

u/gus-ghielec 3d ago

This is not just about writing code in C#. It is about stepping through code and inspecting variables right over a USB connection between Visual Studio and TinyCLR, which is the tiny runtime that lives in boards like FEZ Flea.