Improve getting started sample

This commit is contained in:
Morten Nielsen 2020-01-25 14:25:10 -08:00 committed by GitHub
parent 282331856e
commit 8e72ae022b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)