NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
int SensorDIGPSRelativeHeading ( byte  port)
inline

SensorDIGPSRelativeHeading function.

Read the angle travelled since last request. Resets the request coordinates on the GPS sensor. Sends the angle of travel since the last call.

Parameters
portThe port to which the Dexter Industries GPS sensor is attached. See the Input port constants group. You may use a constant or a variable.
Returns
The relative heading in degrees
Examples:
ex_digps.nxc.