Move for clarity
This commit is contained in:
@@ -170,6 +170,10 @@ class ILT1000(object):
|
|||||||
ret = self._SendCommand('set100perc')
|
ret = self._SendCommand('set100perc')
|
||||||
return float(ret)
|
return float(ret)
|
||||||
|
|
||||||
|
def GetIrradiance(self):
|
||||||
|
ret = self._SendCommand('getirradiance')
|
||||||
|
return float(ret) / 1000
|
||||||
|
|
||||||
def GetDarkMode(self):
|
def GetDarkMode(self):
|
||||||
return int(self._SendCommand('getdarkmode'))
|
return int(self._SendCommand('getdarkmode'))
|
||||||
|
|
||||||
@@ -196,10 +200,6 @@ class ILT1000(object):
|
|||||||
ret = self._SendCommand('getfactorydark')
|
ret = self._SendCommand('getfactorydark')
|
||||||
return [float(x) / 1000000 for x in ret.split()]
|
return [float(x) / 1000000 for x in ret.split()]
|
||||||
|
|
||||||
def GetIrradiance(self):
|
|
||||||
ret = self._SendCommand('getirradiance')
|
|
||||||
return float(ret) / 1000
|
|
||||||
|
|
||||||
def GetClockFrequencyHz(self):
|
def GetClockFrequencyHz(self):
|
||||||
ret = self._SendCommand('getclockfreq')
|
ret = self._SendCommand('getclockfreq')
|
||||||
return float(ret) / 100
|
return float(ret) / 100
|
||||||
|
|||||||
Reference in New Issue
Block a user