As I said in the previous tutorial, source code from Arduino Matlab team is not simple. They created wonderful tutorials as a guide for us to learn rather than step by step tutorials for maker. I spent time to study source code from MATLAB Arduino Tutorial 2 - Connecting and calibrating a 3-axis accelerometer . It's not straight forward to understand their algorithm because the author explained it briefly. I broke it down to function by function, step by step to rewrite a new code base on theirs. I learned some useful techniques by doing this.
Here is my code for you to refer: Github repository
I went through my code in the video below. Enjoy.
I went through my code in the video below. Enjoy.
0 comments:
Post a Comment