Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins/audio_sensors
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-12-22 14:46:50 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-12-22 14:46:50 (GMT)
commit2b99c64ee2010eeb266817e343ad9c8c59b16dfe (patch)
treecd1f05b0e235b61f48b5b4b50e045c33c1d44a16 /plugins/audio_sensors
parent1718f3aedefdc706093b07ab4964aefcc77a0b93 (diff)
added calibration for XO 1.75 voltage
Diffstat (limited to 'plugins/audio_sensors')
-rw-r--r--plugins/audio_sensors/audio_sensors.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/audio_sensors/audio_sensors.py b/plugins/audio_sensors/audio_sensors.py
index e0d7c76..1cb9961 100644
--- a/plugins/audio_sensors/audio_sensors.py
+++ b/plugins/audio_sensors/audio_sensors.py
@@ -139,9 +139,9 @@ class Audio_sensors(Plugin):
elif self.hw == XO15:
self.voltage_gain = -0.0001471
self.voltage_bias = 1.695
- else: # FIXME: Calibrate 1.75
- self.voltage_gain = -0.0001471
- self.voltage_bias = 1.695
+ else: # XO 1.75
+ self._voltage_gain = 0.00007692
+ self._voltage_bias = 0.719
palette.add_block('resistance',
style='box-style',
label=_('resistance'),