From 49c09d5ba1112fc495b46e5c22e2c32383a36bfc Mon Sep 17 00:00:00 2001 From: tangjie133 <1334875503@qq.com> Date: Mon, 10 Jan 2022 13:32:27 +0800 Subject: [PATCH] V1.0.2 --- python/raspberrypi/DFRobot_AS3935_Lib.py | 8 ++++---- python/raspberrypi/README.md | 6 +++--- python/raspberrypi/README_CN.md | 2 +- readme.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/python/raspberrypi/DFRobot_AS3935_Lib.py b/python/raspberrypi/DFRobot_AS3935_Lib.py index db4e477..4996991 100644 --- a/python/raspberrypi/DFRobot_AS3935_Lib.py +++ b/python/raspberrypi/DFRobot_AS3935_Lib.py @@ -1,6 +1,6 @@ '''! @file DFRobot_AS3935_Lib.py - @brief Define the DFRobot_AS3935 class infrastructure, the implementation of the base method + @brief Define the basic structure of the DFRobot_AS3935 class, the implementation of the basic methods. @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com) @license The MIT License (MIT) @author TangJie(jie.tamg@dfrobot.com) @@ -121,7 +121,7 @@ class DFRobot_AS3935: '''! @brief Get mid-range type - @return Return to interrupted state + @return 返回中断状态 @retval 0 Unknown src @retval 1 Lightning detected @retval 2 Disturber @@ -245,7 +245,7 @@ class DFRobot_AS3935: '''! @brief read WDTH - @return Return interference level + @return 返回干扰等级 ''' def get_watchdog_threshold(self): #This function is used to read WDTH. It is used to increase robustness to disturbers, @@ -270,7 +270,7 @@ class DFRobot_AS3935: '''! @brief read SREJ (spike rejection) - @return Return SREJ value + @return 返回SREJ值 ''' def get_spike_rejection(self): #This function is used to read SREJ (spike rejection). Similar to the Watchdog threshold, diff --git a/python/raspberrypi/README.md b/python/raspberrypi/README.md index 14f465f..d0ae348 100644 --- a/python/raspberrypi/README.md +++ b/python/raspberrypi/README.md @@ -5,7 +5,7 @@ AS3935 Lightning Sensor can detect lightning and display the distance and intensity of the lightning without the disturbance of electric arc and noise. It can be set as indoor or outdoor mode. -![Product Image](./resources/images/SEN0290.png) +![Product Image](../../resources/images/SEN0290.png) ## 产品链接(https://www.dfrobot.com/product-1828.html) @@ -33,7 +33,7 @@ Input commands and read data from AS3935 modules ## Installation -To use the library, first download it to Raspberry Pi, then open the routines folder.To execute a routine demox.py, type Python demox.py on the command line.For example, to execute the control_LEd.py routine, you need to enter: +要使用这个库,首先将库下载到Raspberry Pi,然后打开例程文件夹。要执行一个例程demox.py,请在命令行中输入python demox.py。例如,要执行control_led.py例程,你需要输入: ```python python DFRobot_AS3935_detailed.py @@ -57,7 +57,7 @@ python DFRobot_AS3935_detailed.py ''' @brief Get mid-range type - @return Return to interrupted state + @return 返回中断状态 @retval 0 Unknown src @retval 1 Lightning detected @retval 2 Disturber diff --git a/python/raspberrypi/README_CN.md b/python/raspberrypi/README_CN.md index 9b0754e..220a207 100644 --- a/python/raspberrypi/README_CN.md +++ b/python/raspberrypi/README_CN.md @@ -5,7 +5,7 @@ AS3935雷电传感器可以检测雷电,显示雷电的距离和强度,不受电弧和噪声的干扰 可设置为室内或室外模式 -![Product Image](./resources/images/SEN0290.png) +![Product Image](../../resources/images/SEN0290.png) ## 产品链接(https://www.dfrobot.com.cn/goods-1889.html) diff --git a/readme.md b/readme.md index c72ca0c..f82cd33 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ It can be set as indoor or outdoor mode. ![Product Image](./resources/images/SEN0290.png) -## product link (https://www.dfrobot.com/product-1828.html) +## 产品链接(https://www.dfrobot.com/product-1828.html) SKU:SEN0290