Komut
standby()
Açıklama
GPS'i bekleme moduna alın.
Sözdizimi
GPS.standby ()
Parametreler
Yok
İadeler
Hiçbir şey değil
Misal
…
/ put the GPS in standby mode
Serial.println("standby");
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("wait location ... ");
while (!GPS.available());
// ...
…
/ put the GPS in standby mode
Serial.println("standby");
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("wait location ... ");
while (!GPS.available());
// ...
…