avoidance dfrobot arduino code with switch
![userHead](https://dfimg.dfrobot.com/dfPortrait2.png)
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