Skip to content

Commit 6084ccb

Browse files
Update TM1637PIC.c
1 parent 7e72243 commit 6084ccb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TM1637PIC.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include "TM1637PIC.h"
2828

2929
// Bit time for serial comms set here, may be reduced from default 100us if display dio/clk lines have no capacitor:
30-
#define BIT_TIME 5 // Bit time in us, note TM1637 max data rate of 500kHz assuming short signal path
30+
#define BIT_TIME 100 // Bit time in us, note TM1637 max data rate of 500kHz assuming short signal path
3131
#define _XTAL_FREQ 32000000 // Define clock frequency used by xc8 __delay(time) functions
3232

3333
// Define library scope constants:
@@ -361,4 +361,4 @@ void rightShiftDigits (uint8_t rightShift)
361361
tm1637Data[digit] = tm1637Data[shiftSource];
362362
}
363363
return;
364-
}
364+
}

0 commit comments

Comments
 (0)