Page 1 of 1

Cannot build pxt-motor-master for Micro:bit Driver Expansion Board

Unread postPosted:Wed Nov 20, 2019 1:16 pm
by PaulLangemeijer
How can I make the Graphical block software available for the Micro:bit Driver Expansion Board?

I download the software from: https://github.com/DFRobot/pxt-motor
But there is no information on how to use this software.

So I tried something:
I installed pxt with: npm install -g pxt
Next: pxt build

Error message:
Cannot find node_modules/pxtcli.json nor pxtarget.json
Couldn't find PXT; maybe try 'pxt target microbit'?

What did I do wrong?

Re: Cannot build pxt-motor-master for Micro:bit Driver Expansion Board

Unread postPosted:Thu Nov 21, 2019 2:31 am
by nana.wang
Please use it in makecode in extensions.
You just need to input the library link and run it in makecode.

Re: Cannot build pxt-motor-master for Micro:bit Driver Expansion Board

Unread postPosted:Thu Nov 21, 2019 6:33 am
by PaulLangemeijer
Thank you. That works!
It would be nice to describe this in the tutorial of this board (https://wiki.dfrobot.com/Micro_bit_Driv ... KU_DFR0548) and on GitHub as well.

Re: Cannot build pxt-motor-master for Micro:bit Driver Expansion Board

Unread postPosted:Fri Nov 22, 2019 1:54 am
by nana.wang
Thank you for your suggestion and sorry for inconvenience caused.
We will update it as soon as possible.

Re: Cannot build pxt-motor-master for Micro:bit Driver Expansion Board

Unread postPosted:Thu Dec 12, 2019 2:12 pm
by enrique_albert
Hi, all
Please need help.
I have this board (MicroBit Drive expansion board V2)...I downloaded the extension DFRobot pxt motor. I try to install but I'm not sure which file I should select. it is installed (DF-motor) by selecting MAIN, but it gives me an error when not finding the name of the M1 motor, etc.
please see images.

thanks in advance
Enrique

Re: Cannot build pxt-motor-master for Micro:bit Driver Expansion Board

Unread postPosted:Fri Dec 13, 2019 2:39 am
by nana.wang
Hi, thank you for your support.
Could you please help to check the SKU No.?

Re: Cannot build pxt-motor-master for Micro:bit Driver Expansion Board

Unread postPosted:Fri Dec 13, 2019 7:25 am
by enrique_albert

Re: Cannot build pxt-motor-master for Micro:bit Driver Expansion Board

Unread postPosted:Fri Dec 13, 2019 8:02 am
by enrique_albert
Hi,
it's already fixed when I add the extension by putting the link. But in case of being offline if the downloaded files are used, indicate the error shown above.