I want to attach the M5Stack to the handle of a valve to record the total angle of rotation. How do I write a program to measure the total angle of rotation using the M5Stack? (I want it to totalize with a negative value when it rotates backwards and return to zero after the original position of rotations.)
Not only 360deg, over 3600deg.(= 10 rotations etc...)
C
Latest posts made by ChemEng
-
I want to use it as a Rotation gauge