File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
firmware/Serial 7-Segment Display/Serial_7_Segment_Display_Firmware Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ SevSeg myDisplay; //Create an instance of the object
35
35
// OpenSegment uses PNP and NPN transistors to drive larger displays
36
36
#define S7S 1
37
37
#define OPENSEGMENT 2
38
- #define DISPLAY_TYPE S7S
38
+ #define DISPLAY_TYPE OPENSEGMENT
39
39
40
40
// Global variables
41
41
unsigned int analogValue6 = 0 ; // These are used in analog meter mode
@@ -122,8 +122,8 @@ void displayCounter()
122
122
{
123
123
SPCR = 0 ; // Disable all SPI interrupts that may be turned on
124
124
125
- int counterIncrement = SPI_MISO ; // Labeled SDO
126
- int counterDecrement = SPI_MOSI ; // Labeled SDI
125
+ int counterIncrement = SPI_MOSI ; // Labeled SDI
126
+ int counterDecrement = SPI_MISO ; // Labeled SDO
127
127
128
128
pinMode (counterIncrement, INPUT_PULLUP);
129
129
pinMode (counterDecrement, INPUT_PULLUP);
You can’t perform that action at this time.
0 commit comments