On Tue, Nov 19, 2013 at 01:36:32PM -0800, Mike S wrote:
> line 607, in get_battery_voltage
> high, low = self.read_value('bateryvoltage')[0]
> File "/usr/local/lib/python2.7/dist-packages/nxt/sensor/digital.py", line
> 136, in read_value
> address, fmt = self.I2C_ADDRESS[name]
> KeyError: 'bateryvoltage'
Looks like you've encountered some untested code. Due to hardware
limitations, some of our 3rd party sensor code has never actually been
run, so thank you for helping out! Change line 607 of
nxt/sensor/hitechnic.py to read 'batteryvoltage' instead of
'bateryvoltage' and things should work. Let me know if you find any
other bugs with that sensor's class. Thanks!
--
Marcus Wanner