8 years, 5 months ago.  This question has been closed. Reason: Too broad - no single answer

How to add "***.h" and "***.c" files to an mbed project?

I have a working code from Keil project that I want to add to mbed main.cpp file. I created a folder in a project on mbed page and added my two files there, then I inserted #include ""*.h" line in the main.cpp file like usuall. But the compiler prints out "Error: Undefined symbol f(unsigned char*) (referred from main.cpp)" with a code Compiler Error L6218E. But that doesnt make sence sinse these Types work well in main.cpp file! Any tips?

Thanks in advance!