gpsPower (Function) |
Top Previous Next |
This function controls the power supply to the GPS receiver. By using this function, the GPS receiver can be switched off when not in use to save power. When the GPS receiver is switched on, it will take a number of seconds for it to acquire a new position. The duration of this period depends on how long it has been since the GPS receiver was last powered on.
Input: power : BOOL
Returns: None.
Declaration: FUNCTION gpsPower;
Example: INCLUDE rtcu.inc |