Marvin Villamizar
/
DECO_7_BCD_DYNAMIC_ADC
asdasd
Diff: BCDSEG.h
- Revision:
- 0:4a8f4d6bcc13
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BCDSEG.h Fri Jul 06 19:23:22 2018 +0000 @@ -0,0 +1,16 @@ +#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); + void dual(PinName one,PinName two,int uni,int dec,int time); + private: + PinName _a;PinName _b;PinName _c;PinName _d;PinName _e;PinName _f;PinName _g; + int dipSw; +}; + +#endif \ No newline at end of file