-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
RTCTimeStampTest does not compile with ESP8266WiFi.h included #48
Comments
Looks like there is a conflict for the class File in esp8266 core.
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. |
esp8266 SD.h does not support timestamp. |
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 |
it should work with: SdFile::dateTimeCallback(dateTime); |
Using Arduino IDE.
The Sample RTCTimeStampTest (and some others examples also) does not compile with ESP8266WiFi.h included
#include <ESP8266WiFi.h>
if (!file.open("RtcTest.txt", FILE_WRITE)) {
exit status 1
'class fs::File' has no member named 'open'
How can i fix it?
The text was updated successfully, but these errors were encountered: