CRISTIAN YOMAYUZA
/
dec_seg_
//conversor de bcd a 7 segmentos
seg.h
- Committer:
- cristiany
- Date:
- 2017-08-12
- Revision:
- 0:da3425777443
- Child:
- 1:c773d22f95b3
File content as of revision 0:da3425777443:
#ifndef seg_h #define seg_h #include "mbed.h" class cod { public: int enter(PinName a,PinName b,PinName c,PinName d); void salida(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