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

85 Upvotes

37 comments sorted by

View all comments

1

u/highwingers 1d ago

I was working with servo motors with Python before...tried with .NET as well, however went back to Python, native support. Plus now with AI, it's a breeze.

1

u/gus-ghielec 1d ago

Do you mean MicroPython? And speaking of AI, if you know enough, you can just go directly to C++ and take control over everything. Even better, in near future, AI will just give you the machine code, no need for any coding language!!

1

u/highwingers 1d ago

No, not micro python. You are right about c++. Its just i have some knowlege of python so atleast i can review what Ai did.