View Single Post
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#4
Useful to know, hopbeat, but isn't that for the proximity sensor, whereas the question is about the accelerometer?

Or did I miss something? (not unlikely!)

Edit: you can read the accelerometer data directly with (in x-terminal)

cat /sys/class/i2c-adapter/i2c-3/3-001d/coord
(from http://wiki.maemo.org/Accelerometers )

or to view it polled continuously with a 1 second interval:

watch -n 1 "cat /sys/class/i2c-adapter/i2c-3/3-001d/coord"

Last edited by kwotski; 2009-12-18 at 12:19.
 

The Following 2 Users Say Thank You to kwotski For This Useful Post: