User Activity

Please provide the code for calculating the slope angle using ASM330LHHTR gyroscope. My code is attached here.Note:- Switch case is used to cancel the noise.