Can any of you explain what I'm doing wrong please ?
I thought I had to declare them "extern" like normal variables
typedef volatile struct
// These are just DECLARATIONS of the names & types;
// ie, no memory is reserved here.
// Note: Don't put them all in one declaration - there are traps for the unwary...
extern axis w;
extern axis x;
extern axis y;
extern axis z;
// These are the actual DEFINITIONS of the variables;
// ie, these are the lines that actually reserve memory space
// This file (and any others) accesses the variables via the
// extern DECLARATIONS provided in the header
Is there a functional difference between the *.c files and the *.h files at the compiler level though ?
Retrieving data ...