Could it be that the second call to
degree_now=HMC6352.GetHeading();
is not returning?
Try adding debugging prints both sides of that line to see if it's getting stuck there.
Could it be that the second call to
degree_now=HMC6352.GetHeading();
is not returning?
Try adding debugging prints both sides of that line to see if it's getting stuck there.