Extensions in Mblock


#1

When running Mblock (in Mac OSX.9), under Extensions, the Makeblock extensions are checked. When would one check the other extensions. For example, when should I check the Arduino extenstion. I’m currently using the Orion board.


#2

This is a good question and I’d like to see a response.

Choosing Makeblock vs mBot should change which Arduino libraries are loaded, and then which functions are available. But since the functionality of the libraries overlaps in many ways, it can be confusing to use.

For example, if you make a one line Motor M1 OFF program with the Makeblock header and the mBot header, you the functional parts are identical. The mBot however has three extra header lines:

#include "mBot.h"
#include "MePort.h"
MeBoard myBoard(mBot);

So a program that only addresses the motors individually should work with either header. But the “go forward” blocks are only useable by mBot header and hardware.

–andrew
@tieandjeans


#3