7 segmetobcd

Dependencies:   mbed

main.cpp

Committer:
nikor97r
Date:
2017-08-12
Revision:
0:246c93030d74

File content as of revision 0:246c93030d74:

#include "BCDSEG.h"
#include "mbed.h"

int numero;

int main() 
{
        anodoo peinado;
        peinado.visual(D6,D7,D8,D9,D10,D11,D12);
        while(1)
    {
            numero = peinado.entrada(D2,D3,D4,D5);
            
           
            
                peinado.bcd(numero);
                wait(0.5);
                
            
    
    }
}