You probably should declare myArray as extern in the header:
Code:
extern char myArray[];
Then in main.c you define it:
Code:
char myArray[200];