setirrthresholdlow
This commit is contained in:
@@ -33,8 +33,6 @@ class CommandError(Error):
|
|||||||
# captureflash (SPEC ERROR: doc description missing)
|
# captureflash (SPEC ERROR: doc description missing)
|
||||||
# getflash
|
# getflash
|
||||||
|
|
||||||
# setirrthresholdlow
|
|
||||||
|
|
||||||
# setcurrentloop
|
# setcurrentloop
|
||||||
|
|
||||||
# setuserdark
|
# setuserdark
|
||||||
@@ -211,6 +209,9 @@ class ILT1000(object):
|
|||||||
def GetIrradiance(self):
|
def GetIrradiance(self):
|
||||||
return float(self._SendCommand('getirradiance'))
|
return float(self._SendCommand('getirradiance'))
|
||||||
|
|
||||||
|
def SetIrradianceThresholdLow(self, value):
|
||||||
|
self._SendCommandOrDie('setirrthresholdlow %.2e' % value)
|
||||||
|
|
||||||
def GetIrradianceThresholdLow(self):
|
def GetIrradianceThresholdLow(self):
|
||||||
return float(self._SendCommand('getirrthresholdlow'))
|
return float(self._SendCommand('getirrthresholdlow'))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user