RTC DS1307 module; code not dependent to Wire.h

Hello

I got a catch 22 problem. I want to replace the Wire.h I2C library to resolve some hanging problem.

The SBWire.h the replacement library for Wire.h is working OK but fail when I add the RTClib.h. I realized
that RTClib.h seem to necessitate the Wire.h library.

So Any know how I can either modify RTClib.h to ue SBWire.h or another RTC DS1307 library that does not rely on the Wire.h

Hope I'm clear because, It is difficult for me to 1' understand the real problem, 2. translate it in English

Martin

RTC_Compile error.txt (15 KB)

The RTC is an I2C device and, while you can get by without the usual libraries, I believe the wire lib is mandatory. I submit you would be better off being a little less secretive about whatever the hanging problem is, and properly resolving things there like everybody else does. Posting your code and wiring might be a good place to start.