YX ZHANG
/
NiXie
hello Nixie
Fork of NiXie by
Diff: Nixie/Nixie.cpp
- Revision:
- 2:57e4a4136076
- Parent:
- 1:ad106a887eb8
--- a/Nixie/Nixie.cpp Thu Jun 29 09:59:01 2017 +0000 +++ b/Nixie/Nixie.cpp Thu Jun 29 10:14:40 2017 +0000 @@ -18,11 +18,11 @@ RCK = 0; } -void Nixie::NixieShowNumber(int Number) +void Nixie::NixieShowNumber(int Number, int dot) { int8_t pos = 7; do{ - NixieShow(Number%10,pos,false); + NixieShow(Number%10,pos,dot==pos); Number /= 10; pos --; }while(Number != 0 && pos >= 0);