46,174 questions
Nvm, I found a way to add a SerialPort:
Terminal -> dotnet add package system.io.ports
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello
I am new to Visual Studio Code and I am trying to write a C# console program that reads data from a serial port. How do I access the serial port from code? Using System.IO does not contain a reference to Ports.
My apologies for my poor english. Thank you in advance.
VS Code 1.72.2
Nvm, I found a way to add a SerialPort:
Terminal -> dotnet add package system.io.ports