This commit is contained in:
xin
2022-02-28 18:32:20 +08:00
committed by xin
parent 9dcc926ad3
commit a25d4eb86d
2 changed files with 4 additions and 1 deletions

View File

@ -124,7 +124,6 @@ int main(int argc, char* argv[])
aa->Settingshuttertime(shuttertime);
aa->GetOnePlot(oneplot);

View File

@ -38,6 +38,7 @@ bool SensorOptoSky::initSensor(int id /*= 0*/)
}
SensorInfo = GetSensorInfo();
float a = GettingTempratrue();
//SendComment()
return true;
@ -132,6 +133,9 @@ STRSensorInfo SensorOptoSky::GetSensorInfo()
SendComment(SET_AVERAGE_NUMBER, bbb);
GetReturn(SET_AVERAGE_NUMBER, bbb);
se.maxValue = 65535;
bbb[0] = 0x00;
bbb[1] = 0x01;
SendComment(SET_AVERAGE_NUMBER,bbb);
return se;
}