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

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers myWait.h Source File

myWait.h

00001 #ifndef MYWAIT_H
00002 #define MYWAIT_H
00003 
00004 //declare a custom wait function
00005 void myWait(float t);
00006 
00007 #endif