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,21 @@
/*
* accelerometer.c
*
* Created on: Oct 27, 2025
* Author: jomaa
*/
#include "accelerometer.h"
void Accelero_Test(void)
{
int16_t pDataXYZ[3] = {0};
BSP_ACCELERO_Init();
BSP_ACCELERO_AccGetXYZ(pDataXYZ);
printf("X= %d, Y = %d, Z = %d \n\r", pDataXYZ[0],
pDataXYZ[1], pDataXYZ[2]);
BSP_ACCELERO_DeInit();
printf("\n*** End of Accelerometer Test ***\n\n");
return;
}