WHY I cant use HAL_SPI_Transmit outside of the main function.
Hello Folks,my initial goal is now to create a library. I have to use the SPI function outside of main.c file. However, I cannot make HAL_SPI_Transmit function run outside of main.c file. Also, I cannot able to run outside of main function inside the...