|
|
@ -114,7 +114,7 @@ class Ramses(object): |
|
|
|
# 转换一个传感器的部分 |
|
|
|
# 转换一个传感器的部分 |
|
|
|
def __ConvertBytesToInt(self ) -> None: |
|
|
|
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.it = 2 << int(self.buf[0]) # integrated time |
|
|
|
|
|
|
|
|
|
|
|
self.light_int = struct.unpack( |
|
|
|
self.light_int = struct.unpack( |
|
|
|