Open SchwarzFuchs opened 6 years ago
Does the sensor show up in BrickMan under Device Browser?
Also it would be better if the bug report was filed in the ev3dev-lang-python repository.
Does the sensor show up in BrickMan under Device Browser?
Yes, i see him in in1:i2c1 port and i can watch values
OK, so not a driver issue. More python people will see your issue if you post it at: https://github.com/ev3dev/ev3dev-lang-python/issues
Kernel version 4.4.87 code:
Error: Traceback (most recent call last): File "./forward", line 12, in
print (comp.value())
File "/usr/lib/python3/dist-packages/ev3dev/core.py", line 1758, in value
self._value[n], value = self.get_attr_int(self._value[n], 'value'+str(n))
File "/usr/lib/python3/dist-packages/ev3dev/core.py", line 214, in get_attr_int
attribute, value = self._get_attribute(attribute, name)
File "/usr/lib/python3/dist-packages/ev3dev/core.py", line 198, in _get_attribute
raise Exception('Device is not connected')
Exception: Device is not connected