Solved
Use variables values from main.c in another file
if i use static UART_HandleTypeDef huart8; in main.c . when i want to run it in fpvisionai.c HAL_UART_Transmit(&huart8,etc) say huart8 undeclared , should i use include <main.h> in this file,o how to set UART_HandleTypeDef huart8 as global variable
