The latest version mBlock 2.2.0 has released on mBlock.cc


#1

Hello everyone

Makeblock team has released the latest version 2.2.0 of mBlock, it’s free to download on http://mblock.cc/
New fetures:

  1. Restore extensions
    This function can upgrade the extension files of the installation package into “my documents”.
    Users don’t need to delete manually from “my documents” t upgrade.

  1. Manage Extensions
    The new version 2.2.0 open to add new commands interface, users can add common commands, and delete the commands which is not commonly used. If users are not fimilar with the command format, you can click “view source code” to refer to the programs we provided.

  2. Faceplate
    New version added three faceplates: show face, show time show drawing. Each faceplate has coordinate display, only change the coordinate values, it can complete the dynamic display.

a. Dispaly the long words or numbers

b. Display time

c. Customize display


in addition, after click download, the page will show a 10% off coupon, you can enjoy it on http://www.makeblock.cc/
If you would like to share your project of mBlock&mBot, please like “mBlock” page on Facebook
https://www.facebook.com/pages/mBlock/953734557988528

Please, feel free to share your thoughts and advices.

Thanks!


#2

#3

I have a very basic question. I’ve successfully connected my Mbot to the mBlock 2.2.0 software and tried some very basic programming. However I haven’t figured out how to upload my program such that will remain after I turn the Mbot off then on again. It would also be interesting to see the code corresponding to the scratch project. I’m using a Mac with Yosemite.v


#4

USB is required to upload, not working for me or anyone I know of via bluetooth or WiFi


#5

I found a few bugs in the 2.2.0 mBlock that creates invalid arduino code with the mBot

  1. String values not quoted on variable definition
  2. Variable names allow spaces in them but arduino cpp does not and will result in compiler errors
  3. Block names allow spaces but arduino cpp does not and will cause conflicts or compiler errors
  4. show face (Port 1) cannot use variable (it quotes the variable name)

This is the code that shows the issues

Here is the best I can do to address some but not all issues.

  • Rename variables to not use spaces
  • Rename blocks to not use spaces
  • put quotes around strings in Set [variable] to [ ]

There is nothing I can do about the variable name quoting so nobody can’t use that block with variables till the mBlock code is fixed.


#6

Another bug report for mBlock 2.2.0

Variable initialization order is backwards

in the scratch part I set first first then set second to first
The arduino code that is generated sets second to an uninitialized first then initializes first


#7

#8

I opened an issue on github as the showFace bug hasn’t been resolved in 2 years.