Skip to content

Commit d759cbc

Browse files
committed
Corrected so that we default to data mode.
1 parent a7dca93 commit d759cbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firmware/Serial 7-Segment Display/Arduino_Examples/S7S_Example_Mode_Change/S7S_Example_Mode_Change.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ void setup() {
4444

4545
delay(10);
4646
Serial7Segment.write(MODE_CMD); //Change the mode of the display
47-
Serial7Segment.write(MODE_COUNTER); //Enter counter mode. Any pulse on SDI will go up. Any pulse on SDO will go down.
47+
// Serial7Segment.write(MODE_COUNTER); //Enter counter mode. Any pulse on SDI will go up. Any pulse on SDO will go down.
4848
// Serial7Segment.write(MODE_ANALOG); //Enter analog mode. Unit will display the analog voltages detected on A6/A7.
49-
// Serial7Segment.write(MODE_DATA); //Return to normal mode. You can also do a hardware reset to return to normal data mode.
49+
Serial7Segment.write((byte)MODE_DATA); //Return to normal mode. You can also do a hardware reset to return to normal data mode.
5050

5151
}
5252

0 commit comments

Comments
 (0)