mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2025-12-06 07:12:04 +01:00
Merge branch 'master' of https://github.com/dotMorten/NmeaParser
This commit is contained in:
commit
3443a6313e
|
|
@ -23,8 +23,12 @@ You can get the library via [NuGet](http://www.nuget.org) if you have the extens
|
|||
private void device_NmeaMessageReceived(NmeaDevice sender, NmeaMessageReceivedEventArgs args)
|
||||
{
|
||||
// called when a message is received
|
||||
if(args.Message is NmeaParser.Messages.Rmc rmc)
|
||||
{
|
||||
Console.WriteLine($"Your current location is: {rmc.Latitude} , {rmc.Longitude}");
|
||||
}
|
||||
}
|
||||
```
|
||||
See the Platform specific device creation section in the menu for more specifics on device creation.
|
||||
|
||||
### 3. [Browse the API Reference](api/index.html)
|
||||
### 3. [Browse the API Reference](api/index.html)
|
||||
|
|
|
|||
Loading…
Reference in a new issue