Hi, I have an adxl345 accelerometer breakout board from sparkfun.
I have it working with my 14m2 chip.
Here is my code:
setfreq m32
HI2CSETUP I2CMASTER, 0xA6, i2cfast_32, i2cbyte
HI2COUT 0x31,(0x01) 'Put the ADXL345 into +/- 4G range
HI2COUT 0x2D,(0x08) 'Put the ADXL345 into Measurement Mode...