Ramses.py 积分时间 self.buf[0]

server
esea_info 2 years ago
parent b101c1a54d
commit c8852edcb8
  1. 3
      Ramses.py

@ -125,8 +125,7 @@ class Ramses(object):
def __ConvertBytesToInt(self ) -> None: def __ConvertBytesToInt(self ) -> None:
res = {} res = {}
d = [] # List [ Tuple[ it:int, sing_set:tuple[int] ] ] d = [] # List [ Tuple[ it:int, sing_set:tuple[int] ] ]
print(f" ================= ")
print(f" {self.buf.hex()} ")
# self.it = 2 << int(self.buf[1]) # integrated time # 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( self.light_int = struct.unpack(

Loading…
Cancel
Save