

The Activity interrupt is triggered when a certain acceleration value is exceeded on the specified axes. So install the updates via the Arduino IDE or keep an eye out for the latest version on GitHub! I found a few bugs after I posted the first part.They contain considerably more comments, especially the options for the function parameters. You get the original sketches with the library. Again, you’ll only find the shortened sample sketches.The circuit used for the example sketches is the same as that of the first part.

here I also catch up with the Auto Sleep function.It builds on the first part, in which I discussed the general features and the first seven sketches. This is part 2 of my article about the ADX元45 accelerometer and my associated library.
