1
2
3
4
5
6
7
8
9
10
11
12
from mirobot import Mirobot
mirobot = Mirobot()
def draw_square():
for i in range(4):
mirobot.forward(100)
mirobot.right(90)
draw_square()
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Controlling Mirobot with Javascript

Use these simple commands to get started controlling Mirobot:

100mm grid