We start by importing Adafruit libraries for these sensors. This allows us to use basic functions to talk to and control the sensors and not have to "reinvent the wheel" every time we need to do something. I have taken screenshots of the rest of the code, and I have made comments in red describing what the program is doing.
And that's how it works! Here is a link to the data log
However, as I look at this, I realize that I need to do more work to get useful information from the accelerometer and magnetometer.With some work you can do some pretty cool things with this information.
No comments:
Post a Comment