How to change the accelerometer sampling rate

Paul V. Borza paul at accelsense.org
Tue Sep 23 13:29:45 CEST 2008


100 Hz!
You'll get at most 100 values of X, Y, Z per second.

Paul

On Tue, Sep 23, 2008 at 1:41 PM, daniel103 <danifuentes2000 at yahoo.es> wrote:

>
>
> what measure is 100 please??
>
> thanks for your fast aswer
>
>
>
> Andy Green wrote:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Somebody in the thread at some point said:
> > | Hello!!,
> > |
> > | Im a beginner and I need to change the sampling rate of the
> > accelerometers.
> > | Is there any config file to change that?
> > |
> > | and another question:
> > |
> > | Where I can see the real rate of the accelerometer?
> >
> > # cat /sys/bus/spi/drivers/lis302dl/spi0.0/sample_rate
> > 100
> > # echo 400 > /sys/bus/spi/drivers/lis302dl/spi0.0/sample_rate
> > # cat /sys/bus/spi/drivers/lis302dl/spi0.0/sample_rate
> > 400
> >
> > spi0.1 is the other guy.
> >
> > - -Andy
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.9 (GNU/Linux)
> > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> >
> > iEYEARECAAYFAkjYxV0ACgkQOjLpvpq7dMpm7ACeIpEZysjt/WhIdcxZ7ho/Hlc+
> > jZ0Ani5GOWQongPY4BRwXsYHWESYmVmj
> > =AiLk
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > Openmoko community mailing list
> > community at lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> >
> >
>
> --
> View this message in context:
> http://n2.nabble.com/How-to-change-the-accelerometer-sampling-rate-tp1112004p1112055.html
> Sent from the Openmoko Community mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Paul V. Borza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20080923/7d4ac47e/attachment.htm 


More information about the community mailing list