DS1302

So, if the device is working, it must be your code. You DID post in the Programming section, which means that you are expected to POST YOUR CODE!