Looking for MMA8451Q 14bit Accelerometer code with Stamp BS2pe
cheol
Posts: 6
Hi,
I purchased MMA8451Q, 3 axis accelerometer, 14bit by Freescale (as attached data sheet). I saw the example stamp code for MMA7455L which is 10bit version, and the code uses "shift" comment to read and write instead of using "I2C" comment as attached.
Can anyone advise me what and how I can modify the existing code for MMA7455Q for MMA8451Q? I think that I need to (and would like to) use "I2C" comment for MMA8451. Any comment or help will be appreicated.
By the way, I am using Mobo Stamp board which using BS2pe, which supports "I2C" commend.
Thanks,
CalebMMA8451Q_14bit_accel.pdfMMA7455L 3-Axis Accelerometer Demo (PBasic) v1.0 DEMO#2.bs2
I purchased MMA8451Q, 3 axis accelerometer, 14bit by Freescale (as attached data sheet). I saw the example stamp code for MMA7455L which is 10bit version, and the code uses "shift" comment to read and write instead of using "I2C" comment as attached.
Can anyone advise me what and how I can modify the existing code for MMA7455Q for MMA8451Q? I think that I need to (and would like to) use "I2C" comment for MMA8451. Any comment or help will be appreicated.
By the way, I am using Mobo Stamp board which using BS2pe, which supports "I2C" commend.
Thanks,
CalebMMA8451Q_14bit_accel.pdfMMA7455L 3-Axis Accelerometer Demo (PBasic) v1.0 DEMO#2.bs2