Skip to content

Change ShieldBot's commands to SumoRobotCommands #3

@wbyu2006

Description

@wbyu2006

ShieldBot has a list of commands that don't really make sense with the Sumo MRK-1. The MRK1 needs a basic set of commands similar to those currently used in the textbook:

  1. Blink LED
  2. Get Ultrasound Distance
  3. Get Infrared value
  4. Get Button status
  5. Set left motor (speed)
  6. Set right motor (speed)
  7. Start tone (pitch)
  8. Play tone (pitch) (duration)
  9. Wait for pushButton

Shieldbot only has 6 commands, so we'll have to create 3 more in order to accomplish this list. In the Index.html we'll have to add to the list. Then find where the other code is that needs modified.

You can look at some of the commits on MakeWithArduino from when they added the Aerobot or Shieldbot to figure it out. Also there is a Block creator tool out there somewhere. It is in with the standard Google Blockly resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions