(09-03-2016, 06:07 PM)jwzumwalt Wrote: // led.pde
#include "routine.h"
---------------------
// routine.h
---------------------
// routine.c
#include statement works in pde file.
I suspect that you are expecting the function in routine.c is included when you include routine.h but it doesn't wotk that way unless routine.c is compiled and routine.o is included in the project. I haven't tried IDE V12, but V11 (X.4) will not work with multiple source file.
You can add the whole contents of routine.c into routine.h and it should work as you expect.
DJ