Nucleo driving Multiple 4 digit 7 segment display

Dependents:   MutiplexedDisplaysSocketServer mltiplexed_7_segment_displays_over_ethernet mltiplexed_7_segmt_displays_ethernet Multi_7_Seg

Files at this revision

API Documentation at this revision

Comitter:
shivanandgowdakr
Date:
Tue Oct 23 11:57:25 2018 +0000
Parent:
0:e5e550b7a341
Commit message:
MUX/DeMux

Changed in this revision

SN74CBT3257.cpp Show annotated file Show diff for this revision Revisions of this file
SN74CBT3257.h Show annotated file Show diff for this revision Revisions of this file
--- a/SN74CBT3257.cpp	Tue Aug 14 12:24:05 2018 +0000
+++ b/SN74CBT3257.cpp	Tue Oct 23 11:57:25 2018 +0000
@@ -22,7 +22,10 @@
     mOE0=0;    //Out Enable Floor Zero
     mS1=1;
     mOE1=1;    // Disable All Other Floors  
-    mS2=1;mOE2=1; mS3=1;mOE3=1;    
+    mS2=1;
+    mOE2=1; 
+    mS3=1;
+    mOE3=1;    
     
   
  }
@@ -33,9 +36,12 @@
  {
     mS0=1;
     mOE0=0;    //Out Enable Floor  One
-    mS1=1;mOE1=1;   mS2=1;
+    mS1=1;
+    mOE1=1;   
+    mS2=1;
     mOE2=1;    // Disable All Other Floors 
-    mS3=1; mOE3=1;    
+    mS3=1;
+    mOE3=1;    
     
  }
  
@@ -83,7 +89,10 @@
  
   void  SN74CBT3257::Select_Floor_Five(void)
  {
-     mS0=1;mOE0=1;  mS1=1; mOE1=1;    
+     mS0=1;
+     mOE0=1;
+     mS1=1;
+     mOE1=1;    
      mS2=1;      //Out Enable Floor  Five
      mOE2=0;    // Disable All Other Floors 
      mS3=1;
@@ -94,7 +103,10 @@
  
   void  SN74CBT3257::Select_Floor_Six(void)
  {
-     mS0=1; mOE0=1;  mS1=1; mOE1=1;    
+    mS0=1;
+    mOE0=1; 
+    mS1=1;
+    mOE1=1;    
     mS2=1;      
     mOE2=1;    // Disable All Other Floors 
     mS3=0;   //Out Enable Floor  Six
@@ -104,7 +116,10 @@
  
  void  SN74CBT3257::Select_Floor_Seven(void)
  {
-    mS0=1; mOE0=1;  mS1=1; mOE1=1;    
+    mS0=1; 
+    mOE0=1; 
+    mS1=1; 
+    mOE1=1;    
     mS2=1;      
     mOE2=1;    // Disable All Other Floors 
     mS3=1;   //Out Enable Floor  Seven
--- a/SN74CBT3257.h	Tue Aug 14 12:24:05 2018 +0000
+++ b/SN74CBT3257.h	Tue Oct 23 11:57:25 2018 +0000
@@ -4,7 +4,6 @@
 #define SN74CBT3257_H
  
 #include "mbed.h"
-
  
 class SN74CBT3257 {
   public: