Saving files to device on Thonny #16203
Answered
by
robert-hh
cecily555
asked this question in
RP2040 / Pico
-
Beta Was this translation helpful? Give feedback.
Answered by
robert-hh
Nov 10, 2024
Replies: 1 comment
-
You cannot write directly from the board into the PC's file system. It always needs some kind of agent to receive data sent by the board. A very simple method to do so is using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jonnor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You cannot write directly from the board into the PC's file system. It always needs some kind of agent to receive data sent by the board. A very simple method to do so is using
mpremote mount PC-path
, which map the PC directoryPC-path
as path/remote
at the board. Data written to a file at/remote
on the board is written to a file with the same name at the PC'sPC-path
.Other options would be to just print the data at the board and have a logger at the PC, which captures the data and write it to a file.