Learning Math and CS/STEAM with Robotics
Sign In

CSP Unit 3 Lesson 5.10c

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

Our final step is to define one single "drawDiamond" function and call it to have the robot trace out the diamond. The function definition should start with a traceOn command and finish with a traceOff command. In between it should call the drawSide function four times. Modify the pre-placed code to define the drawDiamond function and call it.

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