Forum >avoidance dfrobot arduino code with switch
avoidance dfrobot arduino code with switch

Can someone provide me with arduino code for avoidance robot where the robot stops and turns right if the obtstacle is on the left and vice versa.
I am using dfrobot miniq discovery kit. Please I need a code with switch cases such as forward, stop, turn