Coder Social home page Coder Social logo

Comments (4)

greiman avatar greiman commented on June 26, 2024

Looks like there is a conflict for the class File in esp8266 core.


C:\Users\bill\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.2\cores\esp8266/FS.h:52:7: note: previous declaration 'class fs::File'

 class File : public Stream

Guess you can't use SdFat with #include <ESP8266WiFi.h>.

Use the esp8266 SD.h package, it defines open for esp8266.

Looks like I need to drop support for ESP.

There is a very old version of SdFat in esp8266 and esp8266 will use that version.

from sdfat-beta.

Primus007 avatar Primus007 commented on June 26, 2024

esp8266 SD.h does not support timestamp.
It is very difficult to find a good library that supports timestamp for files and runs with ESP8266WiFi.h

from sdfat-beta.

greiman avatar greiman commented on June 26, 2024

The SdFat timestamp code in in esp8266 core but I don't see how a user can access it.

Here is the location of the version of SdFat used in ESP8266 SD.h:

/esp8266/hardware/esp8266/2.7.1/libraries/ESP8266SdFat

from sdfat-beta.

Primus007 avatar Primus007 commented on June 26, 2024

it should work with: SdFile::dateTimeCallback(dateTime);
There is an example scetch "Timestamp"
I have not tested it.

from sdfat-beta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.