Mu editor doesn't flag blatant errors?

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
mprogers
Posts: 1
Joined: Sun Nov 26, 2017 6:42 pm

Mu editor doesn't flag blatant errors?

Post by mprogers » Sun Nov 26, 2017 6:56 pm

Hello,

I just started looking at MicroPython, and the online editor (http://python.microbit.org/v/1). It doesn't seem to spot any errors, for example, I wrote:

from microbit import *

while
while True:
display...
display.scroll('Hello, World!')
display.show(Image.HEART)
sleep(2000)

and there were no complaints from the editor, and I was able to then download a hex file.

Am I missing something here? What's the best way to write MicroPython code? My audience would be high school and non-CS majors at university.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Mu editor doesn't flag blatant errors?

Post by pythoncoder » Mon Nov 27, 2017 6:49 am

You might get a better response if you directed this question at the mu maintainers.
Peter Hinch
Index to my micropython libraries.

Post Reply