Git Product home page Git Product logo

Comments (6)

gmag11 avatar gmag11 commented on July 17, 2024

What code are you using? Are you using git version of esp8266 Arduino framework?
Here it compiles right? I need more information.

Regards

from ntpclient.

mailforkeith avatar mailforkeith commented on July 17, 2024

I tried yesterday to install and run the git version of Arduino on OSx, but it came up full of errors and after several hours of attempting to make it work, I had to revert back to 2.2.0

from ntpclient.

flinkebernt avatar flinkebernt commented on July 17, 2024

Same problem here. Running Arduino 1.6.11 on Ubuntu. Trying to compile you "FSBrowser" for the Wemos D1 mini (esp8266 based).

I'm using the git version of the esp8266 Arduino framework.

from ntpclient.

flinkebernt avatar flinkebernt commented on July 17, 2024

It's really not an issue with this library, rather than FSBrowser. The files have several
extern ntpClient* ntp;
where it should be
extern NTPClient* ntp;

Uppercase NTP.

When fixing this the code makes some calls to
ntp->getTimeString
which is not defined in the latest NtpClient library. It's supposed to be
ntp->getTimeStr
I believe.

Then on line 123 of FSBrowser.ino it refers to a function that does not exist:
ntp = NTPClient::getInstance(config.ntpServerName, config.timezone/10 , config.daylight);

I think the case is that FSBrowser is probably using an older version of your NtpClientLib?

Finally got FSBrowser to compile and upload, but it enters an endless loop of resets on my Wemos D1 mini. Oh well.

from ntpclient.

gmag11 avatar gmag11 commented on July 17, 2024

@mailforkeith You're right. I changed ntp client library structure some time ago. It is docummented on its repository releases. I'll try to update this project to the new version.
Anyway, this is not being developed as I changed to a different http server library, async http server. I have it on another repository named FSBrowserNG.
I don't have a readme there yet, but functionality is the same. Stability is much higher and has less bugs. I recommend you to have a look to it.
Currently I'm quite busy to give it all my attention but if you need it I can help.

from ntpclient.

gmag11 avatar gmag11 commented on July 17, 2024

No related to this Repository but FSBrowser. I close this issue.

from ntpclient.

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.