library za ispis na 3 7-segmentna displaya
trostrukiSedamSeg.h@1:145af4deddfd, 2021-12-02 (annotated)
- Committer:
- mmaretic
- Date:
- Thu Dec 02 19:23:48 2021 +0000
- Revision:
- 1:145af4deddfd
- Parent:
- 0:67e3f0464683
Komentirana verzija
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mmaretic | 0:67e3f0464683 | 1 | #ifndef TROSTRUKISEDAMSEG_H |
mmaretic | 0:67e3f0464683 | 2 | #define TROSTRUKISEDAMSEG_H |
mmaretic | 0:67e3f0464683 | 3 | #include "mbed.h" |
mmaretic | 0:67e3f0464683 | 4 | |
mmaretic | 0:67e3f0464683 | 5 | class SedamSeg |
mmaretic | 0:67e3f0464683 | 6 | { |
mmaretic | 0:67e3f0464683 | 7 | private: |
mmaretic | 0:67e3f0464683 | 8 | BusOut Seg; |
mmaretic | 0:67e3f0464683 | 9 | BusOut Mosfets; |
mmaretic | 0:67e3f0464683 | 10 | int counter; |
mmaretic | 0:67e3f0464683 | 11 | char c; |
mmaretic | 0:67e3f0464683 | 12 | |
mmaretic | 0:67e3f0464683 | 13 | public: |
mmaretic | 0:67e3f0464683 | 14 | SedamSeg(); |
mmaretic | 0:67e3f0464683 | 15 | void displaySeg(char*); |
mmaretic | 0:67e3f0464683 | 16 | }; |
mmaretic | 0:67e3f0464683 | 17 | |
mmaretic | 0:67e3f0464683 | 18 | #endif |