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

Is it possible to flash several .py files simultaneously? #55

Closed hchlhwang closed 5 years ago

hchlhwang commented 5 years ago

This is my shell script to run the files simultaneously. bright.py file is imported in resistance.py. However, I get an import error that there is no such module bright. What could be the problem?

COMMAND1="uflash resistance.py" 
COMMAND2="uflash bright.py"
$COMMAND2 & $COMMAND1 &
ntoll commented 5 years ago

Sadly, due to limitations of the micro:bit this isn't available in uflash. However, the Mu editor allows you to copy over modules, which is probably what you want/need.