diff --git a/docs/concepts/index.md b/docs/concepts/index.md index 5fdcbb8..1107ebf 100644 --- a/docs/concepts/index.md +++ b/docs/concepts/index.md @@ -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) \ No newline at end of file +### 3. [Browse the API Reference](api/index.html)