I2C LMM drivers

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Tim Moore, created: 2013-04-09 | updated: 2013-04-09

These are I2C drivers for

  • HMC5843 tri-axis compass
  • ITG-3200 tri-axis gyro
  • ADXL345 tri-axis accelerometer
  • BMP085 pressure sensor
  • BLINKM RGB led

They use the SpinLMM object for inline PASM.

 

Original File Upload
AttachmentSize
Package icon lmm_tim-bst-archive-100707-191813.zip70.72 KB

Comments

[originally posted by Anonymous on 2010-12-14 14:30:53] There is a bug in the get acceleration function. the two lines setting result are switched. see the gyro function for a correct example

[originally posted by Anonymous on 2011-01-21 07:06:02] when I first started looking at this code I was very confused. Maybe it was how new I am to SPIN and PASM. However after digging deeper into the code here I find it very structured and clean. I would recommend on thing on this code. Comments. It might make perfect sense to the author where the config tables are but I never would have thought to look at the bottom of the code. so use to the top.