mBlock code for mBot Mega Joystick Control


#1

I am trying to write mBlock 5.5.1 code to control mBot Mega wheel motion using a joystick on a connected Makeblock Bluetooth Remote Controller. Does anyone have some example code that works for this purpose?


#2

I have a basic RC car control for the mbot ranger, it is on the forum, but the controls are the same.


#3

Hi @GrampyBot, you can see how to use the Bluetooth Remote extension here:

Just apply the concepts there (read until the end) to the mBot Mega.


#4

Best_codes:
It took a little playing around to get it all working as there are four motors and different Motion/Motor blocks for mBot Mega. But got it all to work - it can even do the “electric slide” on command! Turns out there is some good guidance on Makeblock Support - mBot Mega.
Thanks for your reply and support.


#5

Awesome! Glad you got everything working!