Example code For Ds1307

Dear all

I am looking for sample example code to interface between Ds1307 & nodemcu module.
I have tried few google example code but its not working well.

Is there any working wirelibrary and example code to interface above circuit.

With "nodeMCU" do you mean an ESP8266 or ESP32?

If yes if you have a WLAN-router in receiverange you could use a networktimeprotocol NTP-server to retrieve accurate time from there

If you lookup the Arduino-librarymanager tools - manage libraries

and do a search for "1307 esp" the lib-manager finds multiple entries
including one that says tested with ESP8266

I took a quick look into the docs and from this quick look it seems pretty good documented

same thing for NTP do a search in the library manager.

best regards Stefan

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.