From ed758f091ebb31380868041da87812d3e4ea4a94 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 12 Oct 2014 15:13:50 +0200 Subject: am230x: Use slightly more liberal timing values. This seems to be required at least for some AM2301 and DHT11 sensors. --- decoders/am230x/pd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/decoders/am230x/pd.py b/decoders/am230x/pd.py index 02f8af2..5375ab2 100644 --- a/decoders/am230x/pd.py +++ b/decoders/am230x/pd.py @@ -24,8 +24,8 @@ import sigrokdecode as srd timing = { 'START LOW' : {'min': 750, 'max': 25000}, 'START HIGH' : {'min': 10, 'max': 10000}, - 'RESPONSE LOW' : {'min': 70, 'max': 90}, - 'RESPONSE HIGH' : {'min': 70, 'max': 90}, + 'RESPONSE LOW' : {'min': 50, 'max': 90}, + 'RESPONSE HIGH' : {'min': 50, 'max': 90}, 'BIT LOW' : {'min': 45, 'max': 90}, 'BIT 0 HIGH' : {'min': 20, 'max': 35}, 'BIT 1 HIGH' : {'min': 65, 'max': 80}, -- cgit v1.2.3-70-g09d2