Editing N900 accelerometer
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
==Hardware== | ==Hardware== | ||
- | The accelerometer in the phone is a [http://www.st.com/ | + | The accelerometer in the phone is a [http://www.st.com//stonline/products/literature/ds/12726/lis302dl.pdf LIS302DL]. |
It is connected through [[N900 Hardware Bus I2C|the I2C bus]]. | It is connected through [[N900 Hardware Bus I2C|the I2C bus]]. | ||
Line 56: | Line 56: | ||
/sys/class/i2c-adapter/i2c-3/3-001d/coord | /sys/class/i2c-adapter/i2c-3/3-001d/coord | ||
- | When reading that file you get 3 values X, Y and Z (provided on one line, separated by white space). Values are in mG (milli G). 1000 | + | When reading that file you get 3 values X, Y and Z (provided on one line, separated by white space). Values are in mG (milli G). 1000 = 1 G |
{| class="wikitable" | {| class="wikitable" | ||
Line 226: | Line 226: | ||
}; | }; | ||
</source> | </source> | ||
- | |||
- | |||
- | |||
[[Category:N900 Hardware]] | [[Category:N900 Hardware]] | ||
[[Category:Development]] | [[Category:Development]] |
Learn more about Contributing to the wiki.