Ok, the code is ready now. Upload it
to Codey Rocky to test how it
works. Then try placing an item in
front of the robot. What happens?
6
Add motions
First add the move backward at power 50% for 1 sec block to the code
and then add the turn right at power 50% for 1 sec block.
7
Add an event
Add the when Codey starts up block to your code.