nicolás rodríguez
/
BCD_GUIA2
7 segmetobcd
Diff: BCDSEG.h
- Revision:
- 0:246c93030d74
diff -r 000000000000 -r 246c93030d74 BCDSEG.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BCDSEG.h Sat Aug 12 21:54:13 2017 +0000 @@ -0,0 +1,17 @@ +#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); + private: + PinName _A;PinName _B; PinName _C; PinName _D; PinName _E; PinName _F; PinName _G; + int Sw; + +}; + +#endif \ No newline at end of file