A121 Integration using STM32CubeIDE
5
Running a Radar Sensor Example
As a first radar example program to run, we selected the program "example_service.c".
To run the radar example program that we have chosen, simply include the header file “example_service.h” in the user
code includes field in your "main.c"-file in the following manner:
/* USER CODE BEGIN Includes */
# include " example_service .h ''
/* USER CODE END Includes */
After including the header-file, you can call the function from the "main.c"-file in the user code 2 field by the following
call:
/* USER CODE BEGIN 2 */
acc_example_service (0 , NULL );
/* USER CODE END 2 */
© 2022 by Acconeer AB - All rights reserved
Page 19 of 23