Learning Math and CS/STEAM with Robotics
Sign In

CSP Unit 3 Lesson 4.5

Piano
Linkbot Image Mindstorm Image
Grid Size: S M L Simple View: MinView:
CSP Unit 3 Lesson 4.5

Using only the commands driveDistance to move forwards, turnLeft(angle 90) to turn, and traceOn and traceOff, create a program that efficiently as possible has the Linkbot draw a 3x3 grid of red squares forward and to the right of its starting point, with each square having a side length of 6. The Linkbot should end back at its starting position, facing forward. (A setSpeed command is provided at the beginning to speed up the robot's drawing.)

Hardware
LArduino
Workspace Load Save Ch Ch Shell Console
Lock
roboblocklyA829.ch
Rubbish bin
Time