Thanks for sharing your work on your node-lsm303 library.
Just offering a PR for allowing the resolution of the accelerometer to be set by the user at instantiation. I changed the default resolution to -/+2Gauss in line with the spec sheet recommendations. This gave me more meaningful readings, but feel free to change if you wish.
Hey Pranesh,
Thanks for sharing your work on your node-lsm303 library.
Just offering a PR for allowing the resolution of the accelerometer to be set by the user at instantiation. I changed the default resolution to -/+2Gauss in line with the spec sheet recommendations. This gave me more meaningful readings, but feel free to change if you wish.
Here is the spec sheet I used http://www.st.com/content/ccc/resource/technical/document/application_note/e6/f0/fa/af/94/5e/43/de/CD00269797.pdf/files/CD00269797.pdf/jcr:content/translations/en.CD00269797.pdf
Cheers, Damo.