mu-editor / mu

A small, simple editor for beginner Python programmers. Written in Python and Qt5.
http://codewith.mu
GNU General Public License v3.0
1.41k stars 435 forks source link

micro:bit V2 Mu 1.2.0 undefined name pin_logo, scale, run_every #2397

Open RBurksADO opened 1 year ago

RBurksADO commented 1 year ago

Did not know where to post this issue I am trying to resolve. I have tried several places. 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