No changes
Diff: sample_hardware.hpp
- Revision:
- 4:d884f14069c6
- Parent:
- 1:3250ba797c16
- Child:
- 5:58ba1a6dbf60
--- a/sample_hardware.hpp Tue Nov 21 13:23:36 2017 +0000 +++ b/sample_hardware.hpp Wed Nov 22 15:18:12 2017 +0000 @@ -1,5 +1,7 @@ #ifndef __sample_hardware__ #define __sample_hardware__ +enum ELEC350_ERROR_CODE {OK, FATAL}; + extern DigitalOut onBoardLED; extern DigitalOut redLED; extern DigitalOut yellowLED; @@ -12,5 +14,6 @@ extern AnalogIn adcIn; extern void post(); +extern void errorCode(ELEC350_ERROR_CODE err); #endif \ No newline at end of file