Sample Code for mBots


#1

This thread is meant for sample mBlock code for the mBOT robot.

to get started, here is a basic dance including LED lights.


#2

This code is for keyboard control of the mBot. No download required - this works well with 2.4 wireless control.


#3

This code displays the text ‘Dance!’ with some changing lights on the LED screen (you’d need to purchase this separately for your mBot as it doesn’t come with the basic kit).


#4

This code creates a cool animation of rolling eyes with additional sound and lights. Simple and cool :slight_smile:
It requires the additional LED screen for the mBot.


#5

thank you! please also share the sb2 files :slightly_smiling:


#6

The mBot as a Theremin: mBot_theremin.sb2 (75 KB)


#7

mBot decision machine: mbot_decisionmachine.sb2 (74.7 KB)


#8

go mBot go! (you will need a sound sensor) go_mBot_go.sb2 (74.5 KB)


#10

Did the same theremin program for my eBook. Great minds thinking alike! :slight_smile:


#11