How do you code the Bumper switch in VCS?
Programming V5 Bumper Switches
This is a simple program in which the robot drives in reverse (the bumper switches are mounted on the rear of the Clawbot) until it bumps into an obstacle, after which it goes forward and changes direction. By changing program settings you can make it the robot do different things.
Sample Projects
Blockly: https://www.robotmesh.com/studio/264786
Python: https://www.robotmesh.com/studio/264778
C++: https://www.robotmesh.com/studio/266202