//conversor de bcd a 7 segmentos

Dependencies:   mbed

Committer:
cristiany
Date:
Sat Aug 12 21:44:02 2017 +0000
Revision:
0:da3425777443
Child:
1:c773d22f95b3
//conversor de bcd a 7 segmentos; ;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
cristiany 0:da3425777443 1 #ifndef seg_h
cristiany 0:da3425777443 2 #define seg_h
cristiany 0:da3425777443 3 #include "mbed.h"
cristiany 0:da3425777443 4
cristiany 0:da3425777443 5 class cod
cristiany 0:da3425777443 6 {
cristiany 0:da3425777443 7 public:
cristiany 0:da3425777443 8 int enter(PinName a,PinName b,PinName c,PinName d);
cristiany 0:da3425777443 9 void salida(PinName a,PinName b,PinName c,PinName d,PinName e,PinName f,PinName g);
cristiany 0:da3425777443 10 void bcd(int number);
cristiany 0:da3425777443 11 private:
cristiany 0:da3425777443 12 PinName a_;PinName b_;PinName c_;PinName d_;PinName e_;PinName f_;PinName g_;
cristiany 0:da3425777443 13 int sw;
cristiany 0:da3425777443 14 };
cristiany 0:da3425777443 15
cristiany 0:da3425777443 16 #endif