Created Sat, 22 Sep 2012 08:20:56 +0000 by Wimpie
Sat, 22 Sep 2012 08:20:56 +0000
Hello,
I just bought a mma845x accelerometer, it is about the same as: https://www.sparkfun.com/products/10955 But when I upload the example code it doesn't work because it uses AVR-specific code that may not work with the chipKIT platform(I included all libraries). If I try example code from similar accelerometers i get errors also. How can I get the accelerometer running?
Thanks in advance
Sat, 22 Sep 2012 15:09:00 +0000
Well, it's an I²C device, so I guess you should maybe read the data sheet for the device, and find out the protocol to talk to it - then use the standard chipkit I²C library and commands (Wire.h?) to communicate with it.