Nucleo driving Multiple 4 digit 7 segment display
Dependents: MutiplexedDisplaysSocketServer mltiplexed_7_segment_displays_over_ethernet mltiplexed_7_segmt_displays_ethernet Multi_7_Seg
Diff: SN74CBT3257.cpp
- Revision:
- 1:85ec0f240cb8
- Parent:
- 0:e5e550b7a341
--- 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