tinyBot making a queen wave motion

tinyBotQueenWave builds on tinyBotWave.  This example waves tinyBot's channel one servo side to side.

Commands used:


What We Learn:

This program uses only one command, robotMove, and is almost exactly the same as tinyBot wave. Notice the similarities with tinyBotWave. See how the <channel> parameter causes a different motion? After you've seen the program work, can you re-create it by changing tinyBotWave in mimicBlock or Arduino?


Download the program images HERE or click the images below. The file includes both the mimicBlock and Arduino versions of the tinyBotWave program. Copy the program using your computer, then upload it onto tinyBot. Does your robot move like the robot in the GIF at the top of the page?

tinyBotQueenWave mimicBlock (drag and drop)Click to view full size


Download Files:

Don't feel like copying the files? Download the complete program here.

Download tinyBotQueenWave.ino for Arduino

Download robotWave.abp for mimicBlock

Cut and paste code:

#include <robot.h>

void setup() {
  // put your setup code here, to run once:


void loop() {
  // put your main code here, to run repeatedly: