[Microbit-Python] A native editor

Carlos P.A. carlos.p.a.87 at gmail.com
Sun Dec 6 16:15:46 EST 2015


Excellent work Nicholas!

Will the pluggin also automatically work when the interface is accessed
from the https://www.microbit.co.uk/create-code python link? (once it is
implemented in the webiste).

As a small suggestion, probably with a low priority, is that having some
visual feedback on the page that the program is being flashed would be
ideal, even better if there was a tiny progress bar on the button.

Regards,
Carlos

On 6 December 2015 at 20:34, Nicholas H.Tollervey <ntoll at ntoll.org> wrote:

> Basically, this:
>
> https://www.youtube.com/watch?v=S8MGFVuZrrs
>
> ...is a first draft and the source code is here:
>
> https://github.com/ntoll/python-native-editor
>
> There's no documentation and I'll be working on it over the coming days
> with a view to showing it on Wednesday to a bunch of teachers.
>
> FYI - working out how to flash the device took several tortuous days.
> Chrome has a USB API that was documented to appear to be exactly what I
> needed (pushing file based data to the device). I spent far too much
> time learning about USB and getting permission to write to the device to
> work.
>
> In the end I gave up when I realised there was a really easy hack that
> was right in front of my nose... just copy the damn .hex file to the
> device via the built-in file-system API.
>
> It worked first time..! :-)
>
> That's several hours of my time I'll never get back.
>
> Early days. Collaboration welcome!
>
> Best wishes,
>
> Nicholas.
>
>
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/microbit/attachments/20151206/a9ad2aac/attachment.html>


More information about the Microbit mailing list