Part 3: My Blocks

My Blocks are a very amazing and powerful programming tool. They allow you to replace a group of programming blocks, or an entire program, that you use over and over again with a custom-programming block. In your program, and any other program you create, all that will appear is that single My Block programming block.

You can use My Blocks for tasks that you want your robot to perform repeatedly, some of which include:

  • —calculations
  • —moving forward or reversing
  • —follow a heading
  • —line edge following
  • —wall following
  • —turning
  • —accelerating or decelerating

We love My Blocks so much that we included two chapters to showcase different techniques for creating My Blocks.