Reference   Language | Libraries | Comparison | Changes

Arduino_MKRGPS : GPS class

end()

Description

De-initialize the GPS.

Syntax

GPS.end()

Parameters

None

Returns

Nothing

Example


  if (!GPS.begin()) {
    Serial.println("Failed to initialize GPS!");
    while (1);
  }

  // read GPS data …

  // done with the GPS
  GPS.end();

See Also

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.