getirradiance

This commit is contained in:
Ian Gulliver
2016-04-08 11:28:52 -07:00
parent c5226faa13
commit b6e6b44f0d
2 changed files with 5 additions and 2 deletions

View File

@@ -26,9 +26,7 @@ class Saturated(Error):
# TODO commands:
# eraselogdata
# getdarkmode
# getfactorydark
# getirradiance
# getlogdata
# getuserdark
# set100perc
@@ -157,3 +155,7 @@ class ILT1000(object):
def GetDarkMode(self):
return int(self._SendCommand('getdarkmode'))
def GetIrradiance(self):
ret = self._SendCommand('getirradiance')
return float(ret) / 1000