From a81ba8ec66a021612e2e0336bbe30ba163f56292 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sat, 23 Apr 2016 15:52:39 -0700 Subject: [PATCH] setirrthresholdlow --- ilt1000.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ilt1000.py b/ilt1000.py index a913092..b889960 100755 --- a/ilt1000.py +++ b/ilt1000.py @@ -33,8 +33,6 @@ class CommandError(Error): # captureflash (SPEC ERROR: doc description missing) # getflash -# setirrthresholdlow - # setcurrentloop # setuserdark @@ -211,6 +209,9 @@ class ILT1000(object): def GetIrradiance(self): return float(self._SendCommand('getirradiance')) + def SetIrradianceThresholdLow(self, value): + self._SendCommandOrDie('setirrthresholdlow %.2e' % value) + def GetIrradianceThresholdLow(self): return float(self._SendCommand('getirrthresholdlow'))