Hi, bought the Eviro hat (not the Enviro+)
According to the instructions, the git scripts should work for both, but I’m throwing an error (See below)
Thoughts?
> Traceback (most recent call last):
> File "gas.py", line 20, in <module>
> readings = gas.read_all()
> File "build/bdist.linux-armv6l/egg/enviroplus/gas.py", line 79, in read_all
>
> File "build/bdist.linux-armv6l/egg/enviroplus/gas.py", line 50, in setup
>
> File "/usr/local/lib/python2.7/dist-packages/ads1015-0.0.5-py2.7.egg/ads1015/__init__.py", line 167, in set_mode
> self._ads1015.set('CONFIG', mode=value)
> File "/usr/local/lib/python2.7/dist-packages/i2cdevice-0.0.6-py2.7.egg/i2cdevice/__init__.py", line 215, in set
> self.read_register(register)
> File "/usr/local/lib/python2.7/dist-packages/i2cdevice-0.0.6-py2.7.egg/i2cdevice/__init__.py", line 183, in read_register
> self.values[register.name] = self._i2c_read(register.address, register.bit_width)
> File "/usr/local/lib/python2.7/dist-packages/i2cdevice-0.0.6-py2.7.egg/i2cdevice/__init__.py", line 283, in _i2c_read
> for x in self._i2c.read_i2c_block_data(self._i2c_address, register, bit_width // self._bit_width):
> IOError: [Errno 121] Remote I/O error