gaminoi

Results 2 comments of gaminoi

Yes : ```python #!/usr/bin/env python3 import time from sensor.lego import Sensor from ev3dev2.port import LegoPort def main(): absport = LegoPort(address='ev3-ports:in2') absport.mode = 'nxt-i2c' abs = Sensor('ev3-ports:in2:i2c17') abs.mode = "TILT" print(abs.value(0))...

Your the best dlech ! It works fine if I remove the LegoPort configuration. Here is the final code : ```python #!/usr/bin/env python3 import time import os from ev3dev2.sensor import...