Learning CS and Math with Robotics
Barobo

CSP Unit 3 Lesson 6.3

Piano MinView
Linkbot Image Mindstorm Image
x-12-606121824y24181260-6-12
Grid Lines:
Tics Lines:
Width px
Hash Lines:
Width px
Labels:
Font px
Trace Lines:
Robot 1:
Width px
Robot 2:
Width px
Robot 3:
Width px
Robot 4:
Width px
Simple View: Grid Size: S M L
CSP Unit 3 Lesson 6.3

Now that we have had some good practice with functions, let's revisit the earlier activity of drawing a 3x3 grid of squares. Think about how you would create the code to draw the grid by defining functions to draw various component parts, and then calling those functions in an appropriate order. The component parts could be component sub-shapes of the 3x3 grid, or they could be various robot moves that get repeated in drawing the 3x3 grid. It's your choice in how to approach it. Then do it!

Load Blocks
Hardware
LArduino
Workspace Show Ch Save File Console

		
Rubbish bin
Time