From: Uwe Hermann Date: Sun, 12 Oct 2014 13:13:50 +0000 (+0200) Subject: am230x: Use slightly more liberal timing values. X-Git-Tag: libsigrokdecode-0.4.0~163 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ed758f091ebb31380868041da87812d3e4ea4a94;p=libsigrokdecode.git am230x: Use slightly more liberal timing values. This seems to be required at least for some AM2301 and DHT11 sensors. --- 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},