Skip to main content
Notice removed Content dispute by Juraj
Post Unlocked by Juraj
Post Locked by Majenko
Notice added Content dispute by Majenko
Rollback to Revision 2
Source Link
Juraj
  • 18.3k
  • 4
  • 32
  • 50

How can write a single data into spiffs?

typedef struct book {
char title[20];
 char author[20];
 int pages[10];

} Book;

Book b1 = {"The Zahir","Paulo Coelho",336,0};

while writing this structure inunctioninto SPIFFS of ESP8266, I am using function

filename.write( (const uint8_t*)&b1, sizeof(b1));

but how can write a single data like name of book into structure of spiffs?

How can write a single?

} Book;

Book b1 = {"The Zahir","Paulo Coelho",336,0};

while writing this structure inunction

but how can write a single data like name of book into structure

How can write a single data into spiffs?

typedef struct book {
char title[20];
 char author[20];
 int pages[10];

} Book;

Book b1 = {"The Zahir","Paulo Coelho",336,0};

while writing this structure into SPIFFS of ESP8266, I am using function

filename.write( (const uint8_t*)&b1, sizeof(b1));

but how can write a single data like name of book into structure of spiffs?

deleted 137 characters in body
Source Link
typedef struct book {
char title[20];
 char author[20];
 int pages[10];

} Book;

Book b1 = {"The Zahir","Paulo Coelho",336,0};

while writing this structure into SPIFFS of ESP8266, I am using functioninunction

but how can write a single data like name of book into structure of spiffs?

typedef struct book {
char title[20];
 char author[20];
 int pages[10];

} Book;

Book b1 = {"The Zahir","Paulo Coelho",336,0};

while writing this structure into SPIFFS of ESP8266, I am using function

but how can write a single data like name of book into structure of spiffs?

} Book;

Book b1 = {"The Zahir","Paulo Coelho",336,0};

while writing this structure inunction

but how can write a single data like name of book into structure

deleted 50 characters in body
Source Link
typedef struct book {
char title[20];
 char author[20];
 int pages[10];

} Book;

Book b1 = {"The Zahir","Paulo Coelho",336,0};

while writing this structure into SPIFFS of ESP8266, I am using function

filename.write( (const uint8_t*)&b1, sizeof(b1));

but how can write a single data like name of book into structure of spiffs?

typedef struct book {
char title[20];
 char author[20];
 int pages[10];

} Book;

Book b1 = {"The Zahir","Paulo Coelho",336,0};

while writing this structure into SPIFFS of ESP8266, I am using function

filename.write( (const uint8_t*)&b1, sizeof(b1));

but how can write a single data like name of book into structure of spiffs?

typedef struct book {
char title[20];
 char author[20];
 int pages[10];

} Book;

Book b1 = {"The Zahir","Paulo Coelho",336,0};

while writing this structure into SPIFFS of ESP8266, I am using function

but how can write a single data like name of book into structure of spiffs?

edited title
Link
Loading
Rollback to Revision 2
Source Link
Juraj
  • 18.3k
  • 4
  • 32
  • 50
Loading
added 3 characters in body
Source Link
Michel Keijzers
  • 13k
  • 7
  • 42
  • 59
Loading
Fixed code formatting.
Source Link
VE7JRO
  • 2.5k
  • 19
  • 28
  • 31
Loading
edited title
Source Link
Loading
added 3 characters in body
Source Link
Michel Keijzers
  • 13k
  • 7
  • 42
  • 59
Loading
Source Link
Loading