library za ispis na 3 7-segmentna displaya
Revision 1:145af4deddfd, committed 2021-12-02
- Comitter:
- mmaretic
- Date:
- Thu Dec 02 19:23:48 2021 +0000
- Parent:
- 0:67e3f0464683
- Commit message:
- Komentirana verzija
Changed in this revision
trostrukiSedamSeg.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 67e3f0464683 -r 145af4deddfd trostrukiSedamSeg.cpp --- a/trostrukiSedamSeg.cpp Thu Dec 02 18:41:08 2021 +0000 +++ b/trostrukiSedamSeg.cpp Thu Dec 02 19:23:48 2021 +0000 @@ -10,6 +10,7 @@ void SedamSeg::displaySeg(char *zaPrikazati){ + // Lookup tablica za multipleksiranje switch(counter){ case 0: Mosfets = 0b100; @@ -28,7 +29,7 @@ break; } - + // Lookup tablica za 7-segmentni display switch(c){ case 'D': Seg = 0b1111110;