NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool SetSensorDIGPSWaypoint ( byte  port,
long  latitude,
long  longitude 
)
inline

SetSensorDIGPSWaypoint function.

Set the coordinates of the waypoint destination. The GPS sensor uses this to calculate the heading and distance required to reach the waypoint.

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.
latitudeThe latitude of the waypoint.
longitudeThe longitude of the waypoint.
Returns
The boolean function call result.
Examples:
ex_digps.nxc.