Just writing this so I can remember what I was doing.
Make a simple interrupt script that can respond to "data ready" in the accelerometer. This will require you to expand the existing accelerometer library slightly.
We should also use this opportunity to compare current draw from polling vs. interrupt methods.
Just writing this so I can remember what I was doing.
Make a simple interrupt script that can respond to "data ready" in the accelerometer. This will require you to expand the existing accelerometer library slightly.
We should also use this opportunity to compare current draw from polling vs. interrupt methods.