Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e8246ca

Browse files
committedJul 18, 2020
added additional warning + keywords.txt
1 parent 9c43e96 commit e8246ca

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
 

‎keywords.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ setDynamicModel KEYWORD2
139139
getDynamicModel KEYWORD2
140140
powerSaveMode KEYWORD2
141141
getPowerSaveMode KEYWORD2
142+
powerOff KEYWORD2
143+
powerOffWithInterrupt KEYWORD2
142144

143145
configureMessage KEYWORD2
144146
enableMessage KEYWORD2

‎src/SparkFun_Ublox_Arduino_Library.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2600,6 +2600,7 @@ boolean SFE_UBLOX_GPS::powerOff(uint32_t durationInMs, uint16_t maxWait)
26002600

26012601
// Powers off the GPS device for a given duration to reduce power consumption.
26022602
// While powered off it can be woken up by creating a falling or rising voltage edge on the specified pin.
2603+
// WARNING: The GPS seems to detect small voltage edges on the interrupt pin. Works best when Microcontroller is in deepsleep.
26032604
// WARNING: Querying the device before the duration is complete, for example by "getLatitude()" will wake it up!
26042605
boolean SFE_UBLOX_GPS::powerOffWithInterrupt(uint32_t durationInMs, uint8_t wakeupPin, boolean forceWhileUsb, uint16_t maxWait)
26052606
{

0 commit comments

Comments
 (0)
This repository has been archived.