26 lines
592 B
C
26 lines
592 B
C
|
#ifndef SegmentDisplayConfig_h
|
||
|
#define SegmentDisplayConfig_h
|
||
|
|
||
|
/**
|
||
|
* Enable SPI support
|
||
|
*
|
||
|
* If not defined, shiftOut will be used. Use setClockPin and
|
||
|
* setDataPin instead to change the defaults.
|
||
|
*
|
||
|
* When using SPI, use setClockSpeed to match your target.
|
||
|
**/
|
||
|
//#define SDUseSPI
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Shift register chaining order
|
||
|
*
|
||
|
* If defined, the segment mask is pushed out first followed
|
||
|
* by the digit mask. In other words, connect D1, D2, etc to
|
||
|
* the first shift register and A, B, etc to the second.
|
||
|
*
|
||
|
* If not defined, the order is reversed.
|
||
|
**/
|
||
|
//#define SDPushSegmentsFirst
|
||
|
|
||
|
#endif
|