ntoll / uflash

A module and command to easily flash Python onto the BBC's micro:bit device.
http://micropython.org/
MIT License
101 stars 27 forks source link

Flash by bytes as well as file #39

Closed ZanderBrown closed 7 years ago

ZanderBrown commented 7 years ago

Based on discussions at https://github.com/mu-editor/mu/pull/264

Sample usage:

import uflash

uflash.flash(python_script="from microbit import *\ndisplay.scroll('Hello, World!')".encode('utf-8'))

Unfortunately i haven't included any additional tests as they are not my strong point.

ntoll commented 7 years ago

I added a very simple test.

ZanderBrown commented 7 years ago

@ntoll thanks