mBot code execution


#1

I’m using the new version of mBlock, v2.2. It connects via bluetooth well, no delays or having to repeat it and it has no more trouble finding the arduino ide for version 1.6.x. The code compiles and uploads to the mBot without an error, return code 0.

The problem, the code doesn’t automatically execute nor have I found a way to make it execute.

I can connect using the supplied USB cable and the code uploads and immediately executes.

Any suggestions?

=========

When connected via the USB cable, I noticed the ‘update firmware’ option and thought, why not… So the firmware uploaded the the mBot rebooted and ALL IS GOOD! So far as the development cycle is concerned. I can create or edit the course, it compiles and uploads. When I clink on the mBot header in the source, the code then executes.


#2

I finally got everything working EXCEPT uploading from bluetooth. Check to be sure the upload is happening because I thought it was working but after changing the code and testing it really wasn’t.


#3

As far as I know, the code is assumed to have uploaded if the pop up saying uploading some %, eventually says completed with no error code. I don’t know of another way of checking if the code actually did upload.


#4

I get the counter from 0-100% but the mBot does not seems to reset after the load like it does with the USB cable.
I made a subtle change to my program and it never showed up on the mBot when uploading via bluetooth, but always did with USB.
I suspect there is still an issue on uploading that way.


#5