1
0
This commit is contained in:
2025-10-27 17:07:20 +01:00
parent 7e264d691c
commit bd24f1fb79
576 changed files with 240919 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
/*
* gyroscope.c
*
* Created on: Oct 27, 2025
* Author: jomaa
*/
#include "gyroscope.h"
void Gyro_Test(void)
{
float pGyroDataXYZ[3] = {0};
BSP_GYRO_Init();
BSP_GYRO_GetXYZ(pGyroDataXYZ);
printf("GYRO_X = %.2f \n", pGyroDataXYZ[0]);
printf("GYRO_Y = %.2f \n", pGyroDataXYZ[1]);
printf("GYRO_Z = %.2f \n", pGyroDataXYZ[2]);
BSP_GYRO_DeInit();
printf("\n*** End of Gyro Test ***\n\n");
return;
}