Arduino_MKRGPS - standby()

Put the GPS in standby mode.

Syntax

GPS.standby()

Parameters

None.

Returns

None.

Example

// Put the GPS in standby mode
Serial.println("Standby mode");
GPS.standby();

// Wait for 10 seconds
delay(10000);

// Wake up the GPS
Serial.println("Wakeup");
GPS.wakeup();

// Wait for new GPS data to become available
Serial.print("Waiting new location data... ");
while (!GPS.available());

// ...

See also