nicolás rodríguez
/
BCD_GUIA2PT2
Voltímetro ADC y BCD
Fork of BCD_GUIA2 by
BCDSEG.h@0:246c93030d74, 2017-08-12 (annotated)
- Committer:
- nikor97r
- Date:
- Sat Aug 12 21:54:13 2017 +0000
- Revision:
- 0:246c93030d74
- Child:
- 1:b6f946fdfb2f
7 segmetobcd
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nikor97r | 0:246c93030d74 | 1 | #ifndef BCDSEG_h |
nikor97r | 0:246c93030d74 | 2 | #define BCDSEG_h |
nikor97r | 0:246c93030d74 | 3 | #include "mbed.h" |
nikor97r | 0:246c93030d74 | 4 | |
nikor97r | 0:246c93030d74 | 5 | class anodoo |
nikor97r | 0:246c93030d74 | 6 | { |
nikor97r | 0:246c93030d74 | 7 | public: |
nikor97r | 0:246c93030d74 | 8 | int entrada(PinName A, PinName B, PinName C, PinName D); |
nikor97r | 0:246c93030d74 | 9 | void visual(PinName A, PinName B, PinName C, PinName D, PinName E, PinName F, PinName G ); |
nikor97r | 0:246c93030d74 | 10 | void bcd(int number); |
nikor97r | 0:246c93030d74 | 11 | private: |
nikor97r | 0:246c93030d74 | 12 | PinName _A;PinName _B; PinName _C; PinName _D; PinName _E; PinName _F; PinName _G; |
nikor97r | 0:246c93030d74 | 13 | int Sw; |
nikor97r | 0:246c93030d74 | 14 | |
nikor97r | 0:246c93030d74 | 15 | }; |
nikor97r | 0:246c93030d74 | 16 | |
nikor97r | 0:246c93030d74 | 17 | #endif |