sensor
Diff: sample_hardware.cpp
- Revision:
- 6:d95616e645bb
- Parent:
- 5:58ba1a6dbf60
- Child:
- 7:d0e445a97c60
- Child:
- 9:5c695a388b14
--- a/sample_hardware.cpp Thu Nov 23 10:54:10 2017 +0000 +++ b/sample_hardware.cpp Thu Nov 23 14:01:24 2017 +0000 @@ -69,18 +69,18 @@ void errorCode(ELEC350_ERROR_CODE err) { - switch (err) { - case OK: - greenLED = 1; - wait(1.0); - greenLED = 0; - return; - case FATAL: - while(1) { - redLED = 1; - wait(0.1); - redLED = 0; - wait(0.1); - } - }; + switch (err) { + case OK: + greenLED = 1; + wait(1.0); + greenLED = 0; + return; + case FATAL: + while(1) { + redLED = 1; + wait(0.1); + redLED = 0; + wait(0.1); + } + }; } \ No newline at end of file