![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
tiz
Dependencies: TextLCD X_NUCLEO_IKS01A1 func mbed-src mbed
Fork of mas by
Diff: func/Error.cpp
- Revision:
- 6:fb1b3ce7738d
- Parent:
- 5:100310ea8fba
--- a/func/Error.cpp Tue Aug 23 15:59:59 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -#include "Error.h" - -void raise_error(ErrorCode ec) -{ - DigitalOut led(LED1); - while(1) - { - for(int i=0; i<=ec; i++) - { - led=1; - wait(0.3); - led=0; - wait(0.3); - } - wait(2); - } -} \ No newline at end of file