cancel
Showing results for 
Search instead for 
Did you mean: 

While studying the official example project, I found that the functions defined in the.c file were not found in int main()

Hanya
Associate II

Recently, I have an Audio_playback_and_record project to understand the use of ST MEMS microphone. My purpose is to understand the running order of the functions defined in waverecorder.c, but I find that int main() can not find the function defined in waverecorder.c file. And the main function also has acceleration sensor content, which makes me very confused

The main program is as follows:


_legacyfs_online_stmicro_images_0693W00000bjY6zQAE.pngI also upload the project

2 REPLIES 2

What's the error reported?

From compiler or linker?

Compiler, check you have prototypes.

Linker, that the code containing the functions is built and liked.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thanks for your reply!

The program compiled with no errors, I just want to knowthe running order of the functions defined in waverecorder.c