tiz
Error.cpp
- Committer:
- youle1119
- Date:
- 2016-09-14
- Revision:
- 0:d60c26d5fddc
File content as of revision 0:d60c26d5fddc:
#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); } }