7 segmetobcd

Dependencies:   mbed

Revision:
0:246c93030d74
--- /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