Hello, I'm using a Seeed tiny ble and I would like to generate a txt or csv file. I've been searching and I've read something about LocalFileSystem and I tried it, but it doesn't work. It throw me the next error:
Error: Identifier "LocalFileSystem" is undefined in "main.cpp", Line: 3, Col: 2
with that code:
- include "mbed.h"
LocalFileSystem local("local"); Create the local filesystem under the name "local"
int main() {
FILE *fp = fopen("/local/out.txt", "w"); Open "out.txt" on the local file system for writing
fprintf(fp, "Hello World!");
fclose(fp);
}
I want it to generate a file with the readings of the IMU6050. Can anybody help me?
Thank you
Hello, I'm using a Seeed tiny ble and I would like to generate a txt or csv file. I've been searching and I've read something about LocalFileSystem and I tried it, but it doesn't work. It throw me the next error:
Error: Identifier "LocalFileSystem" is undefined in "main.cpp", Line: 3, Col: 2
with that code:
LocalFileSystem local("local"); Create the local filesystem under the name "local"
int main() { FILE *fp = fopen("/local/out.txt", "w"); Open "out.txt" on the local file system for writing fprintf(fp, "Hello World!"); fclose(fp); }
I want it to generate a file with the readings of the IMU6050. Can anybody help me?
Thank you