Example of an "extern" declaration to reuse a global variable defined in one file in another file.

Dependencies:   mbed

Committer:
bjo3rn
Date:
Wed Sep 23 20:45:28 2015 +0000
Revision:
0:bc708d703171
initial commit;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bjo3rn 0:bc708d703171 1 #ifndef MYWAIT_H
bjo3rn 0:bc708d703171 2 #define MYWAIT_H
bjo3rn 0:bc708d703171 3
bjo3rn 0:bc708d703171 4 //declare a custom wait function
bjo3rn 0:bc708d703171 5 void myWait(float t);
bjo3rn 0:bc708d703171 6
bjo3rn 0:bc708d703171 7 #endif