Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5114

SDK • Re: Pi PicoW savind data to flash

$
0
0
Yes, it is possible. If you want to treat the data as files, you will need to use a third-party library. The pico-vfs library allows you to read and write files within a file system deployed on the onboard flash.

The pico-vfs library includes sample code for an MQTT client that stores sensor data in a file when the network is disconnected and sends it once the network is restored.
https://github.com/oyama/pico-vfs/blob/ ... ent/main.c

Statistics: Posted by 0yama — Sat Jul 06, 2024 6:41 am



Viewing all articles
Browse latest Browse all 5114

Trending Articles