Charles Tritt
/
HeaderTest
Demonstrates use of header files and compilation units (files) for each function.
myProj.h
- Committer:
- CSTritt
- Date:
- 2017-10-19
- Revision:
- 0:cc014c610423
File content as of revision 0:cc014c610423:
/* 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.