优化热电偶最大报错次数
This commit is contained in:
parent
55e60aecd2
commit
41c2cd3927
@ -13,7 +13,7 @@ from . import bus
|
|||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
REPORT_TIME = 0.300
|
REPORT_TIME = 0.300
|
||||||
MAX_INVALID_COUNT = 3
|
MAX_INVALID_COUNT = 15
|
||||||
|
|
||||||
class SensorBase:
|
class SensorBase:
|
||||||
def __init__(self, config, chip_type, config_cmd=None, spi_mode=1):
|
def __init__(self, config, chip_type, config_cmd=None, spi_mode=1):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user