![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Voltímetro ADC y BCD
Fork of BCD_GUIA2 by
BCDSEG.h@1:b6f946fdfb2f, 2017-08-19 (annotated)
- Committer:
- nikor97r
- Date:
- Sat Aug 19 21:44:23 2017 +0000
- Revision:
- 1:b6f946fdfb2f
- Parent:
- 0:246c93030d74
Volt?metro ADC y BCD
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 | 1:b6f946fdfb2f | 11 | void dual(PinName uno, PinName dos, int unidades, int decenas, int tiempo); |
nikor97r | 0:246c93030d74 | 12 | private: |
nikor97r | 0:246c93030d74 | 13 | PinName _A;PinName _B; PinName _C; PinName _D; PinName _E; PinName _F; PinName _G; |
nikor97r | 0:246c93030d74 | 14 | int Sw; |
nikor97r | 0:246c93030d74 | 15 | |
nikor97r | 0:246c93030d74 | 16 | }; |
nikor97r | 0:246c93030d74 | 17 | |
nikor97r | 0:246c93030d74 | 18 | #endif |