Dear Sir
I add a modbus.c file to Example/User on project. In main.c i #include "modbus.c", but an fatal error "modbus.c" file not found happened.
could you please teach me how can i solve it.
Thanks you very much.
Try using "add existing file to project" to add the file into the compilation.
Using #include .C files is not without precedence, but if it can't find the file you should review the Include Path settings to confirm the directory the file is in gets searched.