Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected so that we default to data mode.

  • Loading branch information...
commit d759cbc2daed9a7cb9cf5b25730dc6d975d440f5 1 parent a7dca93
@nseidle authored
View
4 firmware/Serial 7-Segment Display/Arduino_Examples/S7S_Example_Mode_Change/S7S_Example_Mode_Change.ino
@@ -44,9 +44,9 @@ void setup() {
delay(10);
Serial7Segment.write(MODE_CMD); //Change the mode of the display
- Serial7Segment.write(MODE_COUNTER); //Enter counter mode. Any pulse on SDI will go up. Any pulse on SDO will go down.
+// Serial7Segment.write(MODE_COUNTER); //Enter counter mode. Any pulse on SDI will go up. Any pulse on SDO will go down.
// Serial7Segment.write(MODE_ANALOG); //Enter analog mode. Unit will display the analog voltages detected on A6/A7.
-// Serial7Segment.write(MODE_DATA); //Return to normal mode. You can also do a hardware reset to return to normal data mode.
+ Serial7Segment.write((byte)MODE_DATA); //Return to normal mode. You can also do a hardware reset to return to normal data mode.
}
Please sign in to comment.
Something went wrong with that request. Please try again.