Pedro Colla / Mbed 2 deprecated CTo_VyV_TPAlarma

Dependencies:   mbed

LED.cpp

Committer:
pcolla
Date:
2013-11-16
Revision:
0:f42f18c56a88

File content as of revision 0:f42f18c56a88:

#include "alarma.h"
#include "mbed.h"

void LED(int a){
    if(a == 1){
        Indicador = 1;
        wait(0.2);
        Indicador = 0;
        wait(0.2);
    }
    else if(a == 2)
        Indicador = 1;
    else
        Indicador = 0;
    return;
}