Voltímetro ADC y BCD

Dependencies:   mbed

Fork of BCD_GUIA2 by nicolás rodríguez

BCDSEG.h

Committer:
nikor97r
Date:
2017-08-19
Revision:
1:b6f946fdfb2f
Parent:
0:246c93030d74

File content as of revision 1:b6f946fdfb2f:

#ifndef BCDSEG_h
#define BCDSEG_h
#include "mbed.h"

class anodoo
{
    public:
        int entrada(PinName A, PinName B, PinName C, PinName D);
        void visual(PinName A, PinName B, PinName C, PinName D, PinName E, PinName F, PinName G );
        void bcd(int number);
        void dual(PinName uno, PinName dos, int unidades, int decenas, int tiempo);
    private:
        PinName _A;PinName _B; PinName _C; PinName _D; PinName _E; PinName _F; PinName _G;
        int Sw;
        
};

#endif