Marvin Villamizar
/
DECO_7_BCD
asdasd
Diff: BCDSEG.h
- Revision:
- 0:eaea37aa3d70
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BCDSEG.h Fri Jul 06 19:22:08 2018 +0000 @@ -0,0 +1,15 @@ +#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 \ No newline at end of file