Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: myProj.h
- Revision:
- 0:cc014c610423
diff -r 000000000000 -r cc014c610423 myProj.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/myProj.h Thu Oct 19 21:05:11 2017 +0000 @@ -0,0 +1,17 @@ +/* + Project: HeaderTest + File: myProj.h + Last revised by: Dr. C. S. Tritt + Last revision on: 10/19/17 (v. 1.0) + + This is the header files for the HeaderTest project. It declares stuff that + will be used in/by multiple cpp files. +*/ +// Declare mbed objects. The extern indicates it is defined elsewhere (main.cpp +// in this case). +extern DigitalOut board_LED; +// Declare global variables (extern required to avoid errors). +extern const float BASE_WAIT; // Defined in main.cpp. +extern int cycles; // Defined in main.cpp. +// Declare your function(s. +void myStuff(void); // Defined in myStuff.cpp. \ No newline at end of file