[Microbit-Python] Captured data - but how do I get it off the microbit onto my comp?
Nicholas H.Tollervey
ntoll at ntoll.org
Fri Oct 14 08:49:30 EDT 2016
On 14/10/16 13:39, david at vividink.info wrote:
> Good afternoon,
>
> new microbit user here, but something of a dabbler in procedural python.
>
> I've written a simple script to capture accelerometer data to a file,
> using micropyton.
>
> After running the script on the mmicrobit, I can examine the filesystem
> issueing os.listdir() and os.size('data.csv') in the REPL and confirm
> the file is there.
>
> My question is, how do I get the csv file off the microbit and onto my
> computer?
>
> Searching google hasn't really come up with any answers yet - so useful
> search terms also gratefully received.
>
> Happy days!
> David
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
If you use a recent version of Mu (http://codewith.mu/) you get a simple
UI dragging files on / off the device (Use the "Files" button when your
device is plugged in).
Alternatively, use the microfs command documented here:
https://microfs.readthedocs.io/en/latest/
Hope this helps,
N.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/microbit/attachments/20161014/415e3f3e/attachment.sig>
More information about the Microbit
mailing list