Timeouts now suitable for real use, old values for testing only
This commit is contained in:
parent
8d6ff280e3
commit
af69d2f16f
|
@ -77,9 +77,9 @@ char display_time[] = {0x1f,0x55};
|
||||||
#define TIME_BASE 200000
|
#define TIME_BASE 200000
|
||||||
#define TB_TO_SECS(x) (x*1000000/TIME_BASE)
|
#define TB_TO_SECS(x) (x*1000000/TIME_BASE)
|
||||||
|
|
||||||
#define TIME_CLOCK TB_TO_SECS(5)
|
#define TIME_CLOCK TB_TO_SECS(25)
|
||||||
#define TIME_DIM TB_TO_SECS(30)
|
#define TIME_DIM TB_TO_SECS(90)
|
||||||
#define TIME_OFF TB_TO_SECS(120)
|
#define TIME_OFF TB_TO_SECS(320)
|
||||||
|
|
||||||
#define DEVICE "/dev/ttyUSB0"
|
#define DEVICE "/dev/ttyUSB0"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue