how to read value from the proximity sensors?
dschingiskhan 27 May 2019 13:37
Hi,
im working on a little project where I control the Thymio with Python and a Raspberry Pi.
I know how to set the values for the motors:
value = 250
network.SetVariable("thymio-II", "motor.left.target", [value])
But how can I read the values from the proximity sensors with python?
I tried this but this is not working:
network.GetVariable("thymio-II", "prox.horizontal[2]")
Does someone has an idea?
Thanks.