PDA

View Full Version : Using the DS1302 scratchpad RAM ?



Kman
- 26th August 2007, 16:27
I am Trying to store and read 5 bytes into the ds1302 ram. But not having any success get the format right.
My code works fine if I use the pic's eprom for storing and reading the data, but using the 1302 ram has the data all screwed up!

Has anyone ever used the "Ram" of the ds1302 for storing variables?

The code is based around "CocaColaKid's" example of the 1302

Any brave enoff to look at my code and give suggestions? As I'm out of ideas.

PS; I have bypassed the Set Time routine to save a few keystroke while im debuging the ram R/W routine ( the clock is working anyway )

Kman