Introduction - If you have any usage issues, please Google them yourself
The main function continues to query the transformation results of ADXL345, and obtains the acceleration values (read values) in the three directions of X, y and Z, and then converts them to the angle of the natural system coordinates, and the results are displayed on the LCD module. DS0 indicates that the program is running. By pressing the WK_UP button, ADXL345 can be automatically calibrated (DS1 is used for prompting is being calibrated).