FYI;

Apparently compass.stopCalibration() makes the auto trig mode off. 
So, the cure is to set it on i.e.:

byte[] command = new byte[2];
command[0] = 0x41;
command[1] = 0x02;
compass.sendData((byte)0x41, command, 2);

regards,
kony

Dnia 28-06-2008, sob o godzinie 18:53 +0200, inbox pisze:
> Hi All,
> 
> I've just bought a mnindsensor's compass (v2.0) and I observed that
> after calibration the call compass.getDegrees() always returns some
> certain but constant value. I.e. changing sensor position does not
> change the output. Of course compass.stopCalibration() is called before
> the first compass.getDegrees() call.
> 
> Before calibration the output changing according to position change,
> however the results are obviously inaccurate.  
> 
> Could anyone help?
> 
> Kony


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Lejos-discussion mailing list
Lejos-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to