hello Nixie

Dependencies:   mbed

Fork of NiXie by Chen Huan

Revision:
1:ad106a887eb8
Parent:
0:b5bd2bc3c14d
Child:
2:57e4a4136076
--- a/Nixie/Nixie.cpp	Fri Jun 16 07:07:15 2017 +0000
+++ b/Nixie/Nixie.cpp	Thu Jun 29 09:59:01 2017 +0000
@@ -18,6 +18,16 @@
     RCK = 0;
 }
 
+void Nixie::NixieShowNumber(int Number)
+{
+    int8_t pos = 7;
+    do{
+        NixieShow(Number%10,pos,false);
+        Number /= 10;
+        pos --;
+    }while(Number != 0 && pos >= 0);
+}
+    
 void Nixie::NixieShow(int Num, int Pos, bool WithDot)
 {
     char c, num;