Writing data to the .txt files using SPIFFS in Arduino IDE -


i keep trying write content .txt file placed in current sketch folder file not being overwritten... please me , here code

#include "fs.h" void setup()  {        serial.begin(115200);     serial.println();      spiffs.begin();    file configfile = spiffs.open("config.txt", "a+");    if (configfile)    {     configfile.println("hai");     serial.println(configfile.readstring());   }    configfile.close();   }  void loop()  { } 

with code snip, doing spiffs write on-board filesystem.

while running on specific board, cannot able write data source pc. achieve this, run webserver device serve file requested point.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -