Problems with folder .c and .h configuration
Hello everybody,
I'm a newbie in stm32 IDE. I come from microchip 8bit PIC world :)
For a small personal project I would like to use a SIM800 GSM module with an STM32F303.
in order to make my code clear I would have liked to break it down into several parts. But I admit that I don't really understand how to do things right.
For example I would like to make a gsm.c file and therefore a gsm.h only for the GSM part. In order to put the functions concerning the gsm part.
But here I need to use the UART library in the main.c and also in the gsm.c, is this possible and how to do it and declare it?.
In addition I would like to have variables that can be common to both .c files, is this possible?
Thank you for reading me
