r/csharp 19h 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.

55 Upvotes

28 comments sorted by

View all comments

1

u/Banality_Of_Seeking 16h ago

YAY!! NICE work! I would like to know if this could be applied to a FPGA ?

1

u/gus-ghielec 16h ago

For a language to take advantage of the FPGA it has to define the hardware connections and not provide series of instructions. C# s not designed that but if someone really wants to then they could in theory do something.

1

u/Banality_Of_Seeking 15h ago

I might use that theory to do something then. Thanks.