You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GPS/GNSS NMEA Sentence Processor Library sample code Main ussue is that Meadow.Foundation.Sensors.Location.Gnss.NmeaParsing is now depracated, as per Nuget documentation.
Add Nuget package Meadow.Foundation.Sensors.Location.Gnss to the app.
Modify line 9 to
using Meadow.Foundation.Sensors.Location.Gnss;//.NmeaParsing;
NmeaSentenceProcessor is part of that class
Note for what follows I was targetting Project Labs V3,
Usual change of public class MeadowApp : App<F7Micro, MeadowApp> to: public class MeadowApp : App<F7CoreComputeV2>
Change void Initialize() to public override Task Initialize()
Change Device.SerialPortNames.Com4, to Device.PlatformOS.GetSerialPortName("COM1"), or whatever COM port is used. COM1 is the one in mikroBUS No. 1
After serialPort.MessageReceived line add the Baud Rate setting eg: serialPort.BaudRate = 9600;
At end of Initialize() insert: return base.Initialize();
The text was updated successfully, but these errors were encountered:
GPS/GNSS NMEA Sentence Processor Library sample code
Main ussue is that Meadow.Foundation.Sensors.Location.Gnss.NmeaParsing is now depracated, as per Nuget documentation.
Add Nuget package Meadow.Foundation.Sensors.Location.Gnss to the app.
Modify line 9 to
NmeaSentenceProcessor
is part of that classpublic class MeadowApp : App<F7Micro, MeadowApp>
to:public class MeadowApp : App<F7CoreComputeV2>
void Initialize()
topublic override Task Initialize()
Device.SerialPortNames.Com4,
toDevice.PlatformOS.GetSerialPortName("COM1"),
or whatever COM port is used. COM1 is the one in mikroBUS No. 1serialPort.MessageReceived
line add the Baud Rate setting eg:serialPort.BaudRate = 9600;
return base.Initialize();
The text was updated successfully, but these errors were encountered: