Simple (crude) and portable driver for the MMA7341L accelerometer, written in C. To use the driver the following functions must be passed into the configuration struct:

  • xRead
  • yRead
  • zRead
  • delay
  • gSet (optional)
  • testSet (optional)

Any feedback is welcome.