RTC doesn't work

Hi.
I decided to make project Astrowatch - digital planner with alarm for use in astronomy. I'm using DS1302 RTC module. With Arduino Uno it worked correctly, but in my project with Nano it doesn't work. Its soldered correctly without any bridges and cold joints, but I ran out digital pins, I decided to use analog pins. Maybe is problem there, but I thing not. I'm using DS1302RTC library. That's same code as for Uno, only arranged for other display, but with serial it doesn't work, too.
I thank you for any advice.

I'd venture a guess that it's a problem in either your wiring or your code.

Since you haven't posted either of those, I can't really be more specific.

Also, how about the known working code and wiring as well, since you say you've changed both of those. I suspect you missed a spot.

Wiring:
RTC -> Arduino
Reset A4
Data A5
Clock A6
Code:
RTC.read(time);
tmElements_t time;
LcdString((char*) time.Hour);
LcdString((char*) time.Minute);
Serial.println(time.Hour);
Serial.println(time.Minute);

On end is an attempt to send data by serial. It doesn't work too - on serial are only zeros. Full code is too long, but I can paste it to pastebin, if you want.

fretka323:
Clock A6

"A person who won't read has no advantage over one who can't read."

  • Mark Twain -

https://www.arduino.cc/en/Main/arduinoBoardNano

The Nano has 8 analog inputs
...
Analog pins 6 and 7 cannot be used as digital pins.

Thank! I haven't read this document, so I'm sorry. And one more time - Thank you!