Updated docs
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
|
||||
using Nefarius.Peripherals.SerialPort;
|
||||
|
||||
namespace PInvokeSerialPort.Sample;
|
||||
@ -7,7 +8,7 @@ internal class Program
|
||||
{
|
||||
private static void Main(string[] args)
|
||||
{
|
||||
var serialPort = new SerialPort("com7") { UseRts = HsOutput.Online };
|
||||
SerialPort serialPort = new SerialPort("com5") { UseRts = HsOutput.Online };
|
||||
|
||||
serialPort.DataReceived += x =>
|
||||
{
|
||||
|
Reference in New Issue
Block a user