Hello, I would like to put a touch sensor on my SimpleBot robot to detect walls. Where should I test in the code if the button is enabled? i have a similar Simplebot_simple.py code on GitHub.
I would like if I touch a wall, back for 2 seconds, turn 90 degrees and continue my program.
How it s possible ?
Sorry for my english, I speak french. I hope that you understand me anyway