mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-04-04 14:07:44 +00:00
Added DocFX documentation
This commit is contained in:
parent
9a32f41edf
commit
3571fdec12
25 changed files with 563 additions and 0 deletions
30
docs/concepts/index.md
Normal file
30
docs/concepts/index.md
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Getting started:
|
||||
|
||||
### 1. Install from NuGET:
|
||||
|
||||
You can get the library via [NuGet](http://www.nuget.org) if you have the extension installed for Visual Studio or via the PowerShell package manager. This control is published via NuGet at [SharpGIS.NmeaParser](https://nuget.org/packages/SharpGIS.NmeaParser).
|
||||
|
||||
<table border="4px">
|
||||
<tr><td>
|
||||
<code>PM> Install-Package SharpGIS.NmeaParser</code>
|
||||
</td></tr></table>
|
||||
|
||||
### 2. Create a new device:
|
||||
|
||||
```cs
|
||||
// Create one of the NMEA devices
|
||||
var device = new NmeaFileDevice("PathToNmeaLogFile.txt", 1000);
|
||||
// Listen to messages from the device:
|
||||
device.MessageReceived += device_NmeaMessageReceived;
|
||||
// Open the device and start receiving:
|
||||
device.OpenAsync();
|
||||
|
||||
// Create event handler for receiving messages:
|
||||
private void device_NmeaMessageReceived(NmeaDevice sender, NmeaMessageReceivedEventArgs args)
|
||||
{
|
||||
// called when a message is received
|
||||
}
|
||||
```
|
||||
See the Platform specific device creation section in the menu for more specifics on device creation.
|
||||
|
||||
### 3. [Browse the API Reference](api/index.html)
|
||||
Loading…
Add table
Add a link
Reference in a new issue