//CODIGO PARA PASAR DE BCD A 7 SEGMENTOS

Dependencies:   mbed

main.cpp

Committer:
ABD931
Date:
2017-08-12
Revision:
0:d343b54f75c1

File content as of revision 0:d343b54f75c1:

//CODIGO PARA PASAR DE BCD A 7 SEGMENTOS 
//ANDRES FELIPE FONSECA FIQUE, RICARDO CERON, PEDRO MATIZ
#include "BCDSEG.h"


Serial pc(USBTX,USBRX);
int numero;

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