asdasd

Dependencies:   mbed

BCDSEG.h

Committer:
dimmu8410
Date:
2018-07-06
Revision:
0:eaea37aa3d70

File content as of revision 0:eaea37aa3d70:

#ifndef BCDSEG_h
#define BCDSEG_h
#include "mbed.h"
class anodo
{
    public:
    int entrada(PinName a,PinName b,PinName c,PinName d);//la letra d es el bit más significativo
    void visual(PinName a,PinName b,PinName c,PinName d,PinName e,PinName f,PinName g);//
    void bcd(int number);
    private:
    PinName _a;PinName _b;PinName _c;PinName _d;PinName _e;PinName _f;PinName _g;
    int dipSw;
};

#endif