mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-04-06 15:04:34 +00:00
Move the docs folder to docfx
This commit is contained in:
parent
3571fdec12
commit
d8be33581d
23 changed files with 2 additions and 2 deletions
|
|
@ -1,14 +0,0 @@
|
|||
# Creating a Serial Port device in a .NET Framework
|
||||
|
||||
```csharp
|
||||
var port = new System.IO.Ports.SerialPort("COM3", 9600); //change name and baud rage to match your serial port
|
||||
var device = new NmeaParser.SerialPortDevice(port);
|
||||
device.MessageReceived += device_NmeaMessageReceived;
|
||||
device.OpenAsync();
|
||||
...
|
||||
private void device_NmeaMessageReceived(NmeaParser.NmeaDevice sender, NmeaParser.NmeaMessageReceivedEventArgs args)
|
||||
{
|
||||
// called when a message is received
|
||||
}
|
||||
```
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue