Hello there.
I'm developing a site which can control an educational robot(by MDBT42Q).
Here's my block code that I want to save and load.
(If you can't see photo, I attached at below.)
It looks simple. First dropdown has two options(LEFT, RIGHT) and LEFT is 0, RIGHT is 1.
Second dropdown has two also, CW is 0 , CCW is 1.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hello there.
I'm developing a site which can control an educational robot(by MDBT42Q).
Here's my block code that I want to save and load.
(If you can't see photo, I attached at below.)
It looks simple. First dropdown has two options(LEFT, RIGHT) and LEFT is 0, RIGHT is 1.
Second dropdown has two also, CW is 0 , CCW is 1.
It's a converted javascript code.
If I set 'RIGHT' motor at block code and save my code, and then I load it and convert, the code shows
So the loaded block code shows 'RIGHT' motor set, but actually robot moves 'LEFT' motor.
How can I save block code with right parameters that I set before?
Help me please!
1 Attachment