// Middle 45 degrees
else
return 1 + quadrant*2;
end if
End Subroutine
// Identify the direction the user must move to
Subroutine find_direction_to_move()
return ( (dest_direction - compass_direction) + 8 ) mod 8;
end Subroutine
GPS µTracker Final Report
54