A command to watch for new hex files from upyed and flash the micro:bit immediately
Project description
A command to watch for new hex files from https://github.com/ntoll/upyed and flash the micro:bit immediately
upyflashed will poll your browser download directory for new hex files. If one is found it will copy it to the micro:bit storage location.
Note: The approach attempts to be cross platform but bug reports / fixes gratefully accepted. Currently only tested on Linux and Windows.
Installation
pip install upyflashed
Usage
$ upyflashed --help
usage: upyflashed [-h] [--download_path DOWNLOAD_PATH]
[--microbit_path MICROBIT_PATH] [-v]
A command to watch for new hex files from https://github.com/ntoll/upyed and
flash the micro:bit immediately
optional arguments:
-h, --help show this help message and exit
--download_path DOWNLOAD_PATH
Filepath your browser stores downloads
--microbit_path MICROBIT_PATH
Filepath your computer mounts the micro:bit at
-v, --verbose
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
upyflashed-0.1.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for upyflashed-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9e4014fcd34a37dafa9ccc3083bb2151462167e2739e36fd44d2cd85c6ce723 |
|
MD5 | 9c6a7a8dcb1fbb1ba9a6f06cfb66ed0a |
|
BLAKE2b-256 | 8db9efe71efc89a0d26d5277578a7414180c08caf921605ba293e772674cf1f2 |