Elevation

Elev()

Returns the elevation as reported by a GPS.

Description

Elev()

Returns the elevation in meters as reported by a GPS module. If no positioning data is available (or no GPS is attached), this will return 0.

Parameters

none

Return value

This function returns the most recent reported elevation.

Example usage

Elev()