From 322db09b9ed944c3c1ac6546310388d91cfd739a Mon Sep 17 00:00:00 2001 From: esea_info Date: Fri, 9 Jun 2023 09:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=20Ramses.py=20=E7=A7=AF=E5=88=86=E6=97=B6?= =?UTF-8?q?=E9=97=B4=20self.buf[0]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ramses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ramses.py b/Ramses.py index adeff13..2ff3ac6 100644 --- a/Ramses.py +++ b/Ramses.py @@ -114,7 +114,7 @@ class Ramses(object): # 转换一个传感器的部分 def __ConvertBytesToInt(self ) -> None: - self.it = 2 << int(self.buf[1]) # integrated time + self.it = 2 << int(self.buf[0]) # integrated time 已经验证取第一个 # self.it = 2 << int(self.buf[0]) # integrated time self.light_int = struct.unpack(