gpsUpdateFreq (Function) |
Top Previous Next |
This function sets the frequency at which new positions can be read from a SuperGPS-based device.
Using an update frequency of more than 1 position per. second requires that the system speed is minimum set to Fast (24 Mhz). Note: Operating at mode=2 (4 positions per. second) will only forward data to a connected NMP in every 2nd call to gpsFix. Input: mode : SINT (Default: 0) 0 = Standard mode (max. 1 position per second). 1 = Fast mode (max. 2 positions per second). 2 = Fastest mode (max. 4 positions per second).
Returns: INT
Declaration: FUNCTION gpsUpdateFreq : INT;
Example: INCLUDE rtcu.inc |