How to change the compass demo app to use a different degree than 0?

I was going through the compass code that is included in the demos and what I want to do is use a different degree to point the compass to. Right now it points to 0 for north. How can I set this to any other degree such as 120 or 342 and have the compass point that direction? I don’t care about the two angle labels being used. I just want to change the degree it points to.

Thanks,

Warren

Just add an offset to the number.  The device’s compass is going to try and tell you where north is.

Rob

Just add an offset to the number.  The device’s compass is going to try and tell you where north is.

Rob