sergio burbano
/
bdc_7seg
código guía 2 sesión 1
Fork of bdc_7seg by
Diff: BCD_SEC.h
- Revision:
- 2:7dcd61e90e19
- Parent:
- 1:64569742f2ec
--- a/BCD_SEC.h Sat Aug 12 21:03:54 2017 +0000 +++ b/BCD_SEC.h Sat Aug 19 21:37:03 2017 +0000 @@ -4,12 +4,19 @@ class anodo { - public: +public: int entrada(PinName dipa,PinName dipb, PinName dipc,PinName dipd ); void visual(PinName seg_a,PinName seg_b, PinName seg_c,PinName seg_d,PinName seg_e,PinName seg_f, PinName seg_g); void BDC(int number); - private: - PinName _a;PinName _b;PinName _c;PinName _d;PinName _e;PinName _f;PinName _g; + void dual(PinName uno, PinName dos,int unidad,int decenas,int tiempo); +private: + PinName _a; + PinName _b; + PinName _c; + PinName _d; + PinName _e; + PinName _f; + PinName _g; int dipp; }; #endif \ No newline at end of file