micro:bit V2 and Mu 1.2.0

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
burksfamly
 
Posts: 31
Joined: Fri Jan 06, 2017 10:20 pm

micro:bit V2 and Mu 1.2.0

Post by burksfamly »

Did not know where on this forum to post...so CLUE was as relevant as I could find.
Since January 20, I have been using the micro:bit V2 with the BBC WebEditor.
Everything is great. But today I decided to download and try Mu 1.2.0.
Followed installation instructions and everything went great with code through flash.
Then, I took the source main.py that I had been developing with the BBC WebEditor
and copied it to the Mu editor and flashed. No joy. Failed to flash.
The log reports and the Check function of Mu have indicated the following:
"undefined name pin_logo"
"undefined name scale"
"undefined name run_every"
which are all microbit module functions that I am using.
I searched within Mu, its documentation, and online searches for any information
on possibly needing to update to a V2 microbit module, but no joy.
Apparently, these functions are not in the module that Mu uses and cannot be resolved.

I am stuck...any ideas or suggestions?

ed: I should add that Mu is installed on a Windows 10 environment and that this same environment
successfully flashes the same code to the micro:bit V2 via BBC WebEditor without issue.

Thank you

User avatar
blnkjns
 
Posts: 963
Joined: Fri Oct 02, 2020 3:33 am

Re: micro:bit V2 and Mu 1.2.0

Post by blnkjns »

You did install a micro/circuitpython runtime image on the micro:bit?
I think the web editor compiles to a hex file that runs on the bootloader. For python there has to be way more code on the micro:bit to run it.

User avatar
burksfamly
 
Posts: 31
Joined: Fri Jan 06, 2017 10:20 pm

Re: micro:bit V2 and Mu 1.2.0

Post by burksfamly »

Yest. Image is flashed. The network of micro:bits V2 work when I use BBC WebEditor in my workflow.
When I use Mu 1.2.0, it does not. It appears that those functions are missing. All other module classes and methods resolve.

Locked
Please be positive and constructive with your questions and comments.

Return to “CLUE Board”