Pages: [1]   Go Down
Author Topic: MMA7361 Accelerometer Library  (Read 424 times)
0 Members and 1 Guest are viewing this topic.
United States
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Elephants!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have created a library for the MMA7361 library.There already was a library for the chip, http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1291717903/all, but it was missing the ability to select a 1.5g range and the ability to choose between 3.3V and 5V.

Those selections can be made with my library and it can output the force on an axis in gs, raw A/D values, and A/D values centered on 0.

When preforming an analog read, the axis will be sampled a set number of times and averaged over that period. The number of points is user modifiable.

This library does not make use of the sleep, 0g, g-select, or select test pins.

The library is hosted on bitbucket and can be found at https://bitbucket.org/dcm684/mma7361/src.

Any suggestions for improving the library are appreciated.
Logged

0
Offline Offline
Shannon Member
****
Karma: 117
Posts: 10106
:(){:|:&};: TOX id: fcb8e918bef08581e23f6ddf9d4dba77697c25b217bf372736ed959a95fde36df5b8c5b90fbb
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

you can post your library on the playground, it will be easier to find and modify
Logged

my Arduino code: https://github.com/lestofante/arduinoSketch
sei nuovo? non sai da dove partire? leggi qui: http://playground.arduino.cc/Italiano/Newbie

Pages: [1]   Go Up
Jump to: