How to use external files

Do you have include guards in your .h files? That's the:

#ifndef Morse_h
#define Morse_h

// the #include statement and code go here...

#endif

part of the tutorial I posted above. Of course you should modify the macro name according to each file name (e.g. struct_h).