How do I compile a .h file?
Hi,
You can’t compile a .h file; to have an effect it must be included in a ‘.c’ file that uses the definitions in this file. I suggest you search in your project for the ENABLE_MEMS symbol (uses the “File Search” feature of System Workbench for STM32
) and verifies that “main.h” is included by the corresponding files, then recompile your project.
Bernard (Ac6)