Re: How to change the accelerometer sampling rate

2008-09-23 Thread Andy Green
-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@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: How to change the accelerometer sampling rate

2008-09-23 Thread daniel103


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@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@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: How to change the accelerometer sampling rate

2008-09-23 Thread Paul V. Borza
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 [EMAIL PROTECTED] 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@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@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community




-- 
Paul V. Borza
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community