mu not running code but website download works

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
sooseeg
Posts: 2
Joined: Fri Feb 17, 2017 11:55 am

mu not running code but website download works

Postby sooseeg » Fri Feb 17, 2017 12:17 pm

Hi, I'm using mu to play around with a Microbit and I'm finding that mu is acting up.

Using some code from the microbit-micropython docs I'm trying to display ALL_CLOCKS. When I flash the code from mu I get an error: "Type error function does nte??????"
But if I download exactly the same code from the microbit website and drag it onto the Microbit, it works!
This also happens with the simple program to use pin0 to display a happy face when touched - won't run when coded/flashed from mu but runs fine when coded/downloaded from website.

I've checked & checked my code, I've even copied/pasted from mu into microbit website & it all works fine. Is there some issue with mu? I'm a bit stuck as I can't find an error with my code.
Help please!
Thanks
Sue

sooseeg
Posts: 2
Joined: Fri Feb 17, 2017 11:55 am

Re: mu not running code but website download works

Postby sooseeg » Fri Feb 17, 2017 3:35 pm

Got this sorted by downloading latest version of mu - all fine now. :roll:


Who is online

Users browsing this forum: No registered users and 2 guests