.

Dependents:   Drone_Timer

Revision:
1:1926cb6ea141
Parent:
0:cfa2cc5fc505
diff -r cfa2cc5fc505 -r 1926cb6ea141 Display.cpp
--- a/Display.cpp	Tue Jul 28 08:14:46 2015 +0000
+++ b/Display.cpp	Thu Jul 30 08:02:38 2015 +0000
@@ -90,9 +90,17 @@
         SendData(ScreenText[n+3], 2);
         SendData(ScreenText[n+4], 3);
         wait(0.3);
-    }
-    
+    }  
+}
+
+void DisplayNumber(char n1,char n2,char n3,char n4,char n5){
     
-    
-    
+    timer=Disable;
+    DisplayBCD(1);  //turn off decoders
+
+    SendData(n1, 5);
+    SendData(n2, 4);
+    SendData(n3, 1);
+    SendData(n4, 2);
+    SendData(n5, 3);
 }