fre 26 aug 2016 16:28:10 CEST http://www.ev3dev.org/docs/getting-started/ http://www.ev3dev.org/docs/tutorials/connecting-to-the-internet-via-usb/ http://www.ev3dev.org/docs/tutorials/setting-up-python-pycharm/ ssh robot@10.42.0.84 maker python from ev3dev.auto import OUTPUT_B, OUTPUT_C, Motor m1 = Motor(OUTPUT_B) m1.run_forever(duty_cycle_sp = 100) m1.stop() m2 = Motor(OUTPUT_C) m2.run_forever(duty_cycle_sp = 100) m2.stop() m1.run_forever(duty_cycle_sp = 25) m2.run_forever(duty_cycle_sp = -25) m1.stop() m2.stop() from ev3dev.auto import INPUT_3, INPUT_4, Sensor s1 = Sensor(INPUT_3) s2 = Sensor(INPUT_4) s1.value() s2.value() import time m1.run_forever(duty_cycle_sp = 50) m2.run_forever(duty_cycle_sp = 50) avstandssensor = Sensor(INPUT_4) while (avstandssensor.value() > 200): time.sleep(0.1) m1.stop() m2.stop()