I am trying the following code:
NMEAData = "$GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47";
byte[] bData = new byte[256];
bData = Encoding.ASCII.GetBytes(NMEAData);
***NMEAProtocol.ParseBuffer(bData);***
public void ParseBuffer( byte[] buffer)
{
foreach (byte b in Globals.GBuffer)
{
ProcessNMEA(b);
}
return;
}
When trying to compile I am getting
CS0120: An object reference is required for the non-static field, method, or property