Final

Dependencies:   mbed

Fork of MiniProject5_LightTracker by Austin Sloop

Revision:
4:87d0b3943dfb
Parent:
3:4a3e2dbc111e
Child:
5:af4d347a72b8
--- a/SegDisplay.cpp	Mon Jan 11 21:56:22 2016 +0000
+++ b/SegDisplay.cpp	Mon Jan 11 22:03:53 2016 +0000
@@ -28,15 +28,15 @@
     return SegByte;
 }
 
-void SegDisplay(char x, char y)
+void SegDisplay(char x)
 {
     while(1)
     {
         Display1 =1;
-        Display = SegConvert(x);
+        Display = SegConvert(x/10);
         Display1=0;
         Display10 = 1;
-        Display = SegConvert(y);
+        Display = SegConvert(y%10);
         Display10=0;    
     }    
 }