From 38f851e63d1cf454ae68419d53809780f0c8d0c7 Mon Sep 17 00:00:00 2001 From: ouki-wang <358023925@qq.com> Date: Wed, 28 Nov 2018 17:01:47 +0800 Subject: [PATCH] V1.0 --- RaspberryPi/Python/DFRobot_AS3935_Lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RaspberryPi/Python/DFRobot_AS3935_Lib.py b/RaspberryPi/Python/DFRobot_AS3935_Lib.py index afa564c..e08d8d3 100644 --- a/RaspberryPi/Python/DFRobot_AS3935_Lib.py +++ b/RaspberryPi/Python/DFRobot_AS3935_Lib.py @@ -194,7 +194,7 @@ class DFRobot_AS3935: #This function is used to modify WDTH. It is used to increase robustness to disturbers, #though will make detection less efficient (see page 19, Fig 20 of datasheet) #WDTH register: add 0x01, bits 3:0 - #default value of 0001 + #default value of 0010 #values should only be between 0x00 and 0x0F (0 and 7) self.singRegWrite(0x01, 0x0F, wdth & 0x0F)