So I've been trying to find an article on the topic but I haven't been able to find one so here's my last resort.
Basically on my android device when I print out the values of Input.compass.magneticHeading the print logs could look smth like
330
330
330
27
330
330
330
27
27
330
330
27
330
330
330
And any direction I look towards, the print always prints a number like the 330 mentioned way more than the 27.
Is this just how compasses work? Or am I doing something wrong
Ideally I'd want it to print only one value