código guía 2 sesión 1

Dependencies:   mbed

Fork of bdc_7seg by sergio burbano

Revision:
1:64569742f2ec
Parent:
0:a638e4f36df2
Child:
2:7dcd61e90e19
--- a/BCD_SEC.cpp	Sat Aug 12 20:51:41 2017 +0000
+++ b/BCD_SEC.cpp	Sat Aug 12 21:03:54 2017 +0000
@@ -3,12 +3,12 @@
 int anodo::entrada(PinName a,PinName b, PinName c,PinName d)
 {
     BusIn dip(a,b,c,d);
-    dipSw=dip.read();
-    return dipSw;
+    dipp=dip.read();
+    return dip;
     }
-void anodo::visual(PinName a,PinName b, PinName c,PinName d,PinName e,PinName f, PinName g)
+void anodo::visual(PinName seg_a,PinName seg_b, PinName seg_c,PinName seg_d,PinName seg_e,PinName seg_f, PinName seg_g)
 {
-    _a=a;_b=b;_c=c;_d=d;_e=e;_f=f;_g=g;
+    _a=seg_a;_b=seg_b;_c=seg_c;_d=seg_d;_e=seg_e;_f=seg_f;_g=seg_g;
     }
 void anodo:: BDC(int number)
 {