I want to buy the touch sensor, but can i use Me touch sensor in mBot v1.1?
Can i use Me touch sensor in mBot v1.1?
Bleky
#4
The sensor returns 2 values,0 and 1.
You basically need to change your if part a little,see the picture below for reference.