Page 1 of 1

sd card problem

Posted: Fri Sep 09, 2011 6:32 am
by Roshan
Hi All ,

I am writing in sd card & it works perfect.

my problem is,

i read rtc ds1307 & i am using ready module which is available on the site.

if time is

hour = 0, Minute = 0 and second = 0 then

it only write in file "0"

EVEN MY command is like this

SD.WRITE(DECTOSTR(TIME.HOUR,2)
SD.WRITE(DECTOSTR(TIME.MINUTE,2)
SD.WRITE(DECTOSTR(TIME.SECOND,2)

HOW CAN I SOLVE THIS ?

ROSHAN

Posted: Fri Sep 09, 2011 2:10 pm
by Senacharim
Are you certain your code is correctly interfacing with the clock module?

'0' is what one gets when the clock module is non-functional or communication is not being achieved.