Hi all,
I bought three Leonardo's in hopes of replicating an accelerometer design based on the ADXL345 breakout. In my prototype with Uno R2 I have the system working perfectly using the code available from the Bildr tutorial here: http://bildr.org/2011/03/adxl345-arduino/.
However with Leonardo R3, the serial is spamming me with continuous activity and double taps even though nothing is happening. Exactly same wiring, same code, three soldered Leonardos tested. Always the same problem.
Could somebody please enlighten me a bit? What's wrong with I2C on Leo? I'd prefer not doing the code and soldering again to try with SPI..
Thanks.