Lepton 3.5 Activating AGC

Hi @kwagyeman @oramafanis @iabdalkader ,
I did something like this and I think that maybe will this format i think.

sensor.ioctl(sensor.IOCTL_LEPTON_SET_MEASUREMENT_MODE, True)
data1 = struct.pack(">HH", 0,1) 
sensor.ioctl(sensor.IOCTL_LEPTON_SET_ATTRIBUTE, 0x0100, data1)

According to this struct:

I think I set the values of LEP_AGC_ENABLE = 1 LEP_AGC_DISABLE = 0

Result image is kinda broken :smiley: where is the problem?